-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zsh_aliases
52 lines (52 loc) · 1.2 KB
/
.zsh_aliases
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
alias t="todo.sh"
alias g="git"
gcal() {
gcalcli --pw `pass [email protected]` "$@"
}
alias v="nvim"
alias c="clear"
alias s="ncmpcpp"
alias m="mutt"
alias k="pkill -9 -f"
alias p="pass -c"
alias crontab-e="$EDITOR ~/.crontab && crontab ~/.crontab"
ago() {
ag "$@" && /usr/bin/vendor_perl/mimeopen `ag -l --nobreak "$@" | tmenu -l 10 -p `
}
alias l="ls -F"
alias edit='/usr/bin/vendor_perl/mimeopen "$(git ls-files | tmenu -l 10 -p )"'
alias chat=profanity
#delphix
alias js-test-all="ant test -Dtest.browsers=Chrome,Firefox,Safari,PhantomJS | grep 'Running all tests\|Safari\|PhantomJS\|Chrome\|Firefox' | sed 's/ \[echo\] Running all tests: //g' | sed 's/ \[exec\]//g'"
git-root() {
cd $(git root)
}
build-gui() {
pwd=$(pwd)
git-root
cd appliance
ant createVersion
cd client/gui
ant all
cd $pwd
}
debug-gui() {
pwd=$(pwd)
git-root
cd appliance/client/gui
grunt
cd $pwd
}
build-app() {
export JAVA_HOME=/usr/lib/jvm/java-7-jdk
pwd=$(pwd)
git-root
cd appliance
ant dev
cd $pwd
}
calw() {
gcalcli agenda --calendar [email protected] --calendar "Eng Status"
}
alias cps='rsync -p --progress'
alias o='/usr/bin/vendor_perl/mimeopen'