-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.naterc
62 lines (46 loc) · 1.35 KB
/
.naterc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
ulimit -u 1024
# Sencha Stuff
if [ -d /opt/Sencha/Cmd ] ; then
export PATH="/opt/Sencha/Cmd:$PATH"
fi
# GNU coreutils are better than what mac gives you
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
# python/pip aliases for V3
PATH="/opt/homebrew/opt/[email protected]/libexec/bin:$PATH"
# This is for things like ./gradlew to work with tab completion
export PATH=".:$PATH"
# Go
export GOPATH=$HOME/projects/go
# MySQL
alias mysqlStart="sudo /usr/local/mysql/support-files/mysql.server start"
alias mysqlStop="sudo /usr/local/mysql/support-files/mysql.server stop"
alias mysqlTail="sudo tail -f /usr/local/mysql/data/mysqld.local.err"
# Aliases
alias ll="ls -alh"
alias s=sencha
alias sl="du -hd 1"
alias v=vagrant
#alias standard="standard --verbose | snazzy"
alias ports='sudo lsof -iTCP -sTCP:LISTEN -n -P'
# Docker
alias d="sudo docker"
alias di="d images"
alias ds="d ps"
alias dsa="ds -a"
alias dl="d images"
alias dr="d rm -v"
# Gradlew
alias gw="./gradlew"
alias gwt="./gradlew test"
alias gwr="./gradlew run"
# silver searcher (brew install the_silver_searcher)
alias f="ag -g"
alias r=ag
alias k="kubectl"
alias m="minikube"
alias mailhog="d run --rm -p 1025:1025 -p 8025:8025 mailhog/mailhog"
# tomcats
function tomcatPid() { ps -ef | grep "org.apache.catalina.startup.Bootstrap" | grep "tomcat8_$1" | awk '{print $2}'; }
# AWS CLI
. ~/.toastrc