-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.aliases
42 lines (37 loc) · 946 Bytes
/
.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
# developer
alias b='bundle'
alias g='git'
alias r='bundle exec rails'
alias rr='bundle exec rake routes'
alias h='curl -I'
alias mx='host -t mx'
alias a='android'
alias ducks='du -cks * | sort -rn | head'
# git
alias commit='git commit'
alias pull='git up'
alias push='git push'
alias stash='git stash'
# admin
alias repository='sudo add-apt-repository'
alias cpuinfo='cat /proc/cpuinfo'
alias meminfo='cat /proc/meminfo'
alias ss='sudo service'
# user
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias get='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"'
alias cp_pwd='pwd | xclip -selection clipboard'
alias go_pwd='cd `xclip -out -selection clipboard`'
alias remove-x='chmod -R -x+X *'
# web developer
# mirror http://...
alias mirror='httrack --footer "" '
# private aliases
if [ -f ~/.home_aliases ]; then
source ~/.home_aliases
fi