aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh/90-aliases.zsh
blob: 7f41bc432945f8658937f5aff60d04adb2cc2820 (plain)
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
#
# zsh/aliases.zsh
#

alias zhelp='run-help'

alias ..='cd ../'
alias ...='cd ../../'
alias ....='cd ../../../'
alias cd..='cd ..'
alias d='dirs -v | head -10'
alias po=popd
alias pu=pushd

if [[ -n "${IS_LINUX}" ]]; then
    alias ls='ls --color=auto'
elif [[ -n "${IS_BSD}" ]]; then
    alias ls='ls -G'
fi
alias l='ls -lah'
alias la='ls -lAh'
alias ll='ls -lh'
alias lsa='ls -lah'

alias grep='grep --color=auto'

# git
alias gita='git add'
alias gitc='git commit'
alias gitd='git diff'
alias gits='git status'

# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #