-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathalias.shrc
45 lines (39 loc) · 1.17 KB
/
alias.shrc
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
# :vim filetype=sh:sw=2:ts=2:et
alias h='history'
alias x='exit'
alias j='jobs'
alias n="opennote"
alias i="ipython"
alias o="open"
# alias
alias grep="grep $COLOR"
alias nau='nautilus'
alias l='ls -hl --color=auto' # show detailed info
alias ls='ls -hl --color=auto' # show detailed info
alias la='\ls -Al --color=auto' # show hidden files
alias lt='\ls -ltc --color=auto' # sort by change time
alias lx='\ls -lXB --color=auto' # sort by extension
alias lr='\ls -lR --color=auto' # recursive ls
alias lS='\ls -lhS --color=auto' # sort by size
# alias for manipulating the dir stack
alias f='pushd'
alias b='popd'
alias v='dirs -v'
alias f1='fg 1'
alias f2='fg 2'
alias f3='fg 3'
alias fa='pushd +1 > /dev/null; dirs -v'
alias fb='pushd +2 > /dev/null; dirs -v'
alias fff='pushd ~/profile'
# we do not further define fc to avoid conflict with bash builtin "fc"
# use "f +3" and "f3" instead.
# alias for display statistics
alias p='ps -ef'
alias nt='netstat -vatn'
alias pdb='python -m pdb'
alias tree='~/profile/tree'
alias scp='scp -o GSSAPIAuthentication=no'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'