-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_aliases
35 lines (31 loc) · 1.18 KB
/
.bash_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
# explicitly enable aliases in Bash,
# whereas zsh expands them automatically
if [ -n "$BASH_VERSION" ]; then
shopt -s expand_aliases
fi
alias cron='sudo crontab -l -u'
#alias deploy.pl='/usr/bin/script -a deploy.txt -c deploy.pl'
alias ixk='sudo /usr/local/bin/ixctl kill'
alias ixkt='sudo /usr/local/bin/ixctl killthis'
#alias ix_changes='for i in `/usr/bin/ls /var/www/apps/`; do cd /var/www/apps/$i/app/IX; svn st | grep -ve "^$" | grep -v Performing | grep -v "X "; done'
alias ix_changes='/usr/local/bin/release/ix_changes.sh'
alias ext='/usr/local/bin/release/externals.pl'
alias point='svn propset svn:externals -F svn.externals .'
alias pointup='svn propset svn:externals -F svn.externals .; svn up;'
alias pu='pointup'
alias psmew='watch psme'
alias restart='sudo apachectl restart'
alias space='sudo du -hsx * | sort -rh | head -10'
alias ssl_weblog='sudo vim /etc/httpd/logs/ssl_error_log'
alias supergrep='LC_ALL=C fgrep -A 50 -B 50'
alias svnl='svnl.pl';
alias ulazy='sudo umount -f -a -t cifs -l'
alias tmix='~/dotfiles/tmix.sh'
alias v='vim'
alias weblog='sudo vim /etc/httpd/logs/error_log'
function svndiff() {
svn diff $1 | vim -
}
function gitdiff() {
git diff $1 | vim -
}