mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
24 lines
396 B
Bash
24 lines
396 B
Bash
# Push and pop directories on directory stack
|
|
alias pu='pushd'
|
|
alias po='popd'
|
|
|
|
# Basic directory operations
|
|
alias .='pwd'
|
|
alias ...='cd ../..'
|
|
alias -- -='cd -'
|
|
|
|
# Super user
|
|
alias _='sudo'
|
|
|
|
#alias g='grep -in'
|
|
|
|
# Show history
|
|
alias history='fc -l 1'
|
|
|
|
# List direcory contents
|
|
alias lsa='ls -lah'
|
|
alias l='ls -la'
|
|
alias ll='ls -alr'
|
|
alias sl=ls # often screw this up
|
|
|
|
alias afind='ack-grep -il'
|