-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.aliases
47 lines (40 loc) · 1.18 KB
/
.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
# User specific aliases and functions
alias startx='choosex'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias verb='export VERB=1'
alias noverb='export VERB=0'
alias cd..='cd ..'
#if [ `uname` != 'Darwin' ] || [ `echo $PATH | grep 'gnubin' ` ]
#then
# alias ls='ls --color=always -I "*.pyc"'
#else
# alias ls='ls -G'
#fi
alias lsa='ls -Ah'
alias lsl='ls -lh'
alias lsal='ls -lAh'
alias LS='ls'
alias ..='cd ..; ls'
alias eix-sync='sudo eix-sync'
alias sshiphone='killall -9 tcprelay; tcprelay --portoffset=2000 22 & ssh iphone && killall -9 tcprelay'
#alias s!='command sudo `!!`'
alias bleedkerninst='mount /boot && make && make modules_install && cp arch/i386/boot/bzImage /boot/bleedingkernel-2.6.17-gentoo-r4'
alias 32bitpy='export VERSIONER_PYTHON_PREFER_32_BIT=yes'
alias dnsflush='sudo killall -HUP mDNSResponder'
alias gitb='git branch'
alias gits='git status'
alias gitd='git diff --color'
alias gitc='git commit'
# makes git 66% smaller
# (and shows git status if no args)
g() {
if [[ $# == '0' ]]; then
git status -sb
else
git "$@"
fi
}
alias updatetoc='schutil UpdatePageBorder -UpdateTOC'
alias killcadence='ps aux|grep mmc|grep [c]adence|awk "{ print \$2 }" | xargs kill'