mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-15 06:11:12 +00:00
cd35d86fff
Also an alias for the function.
26 lines
397 B
Bash
26 lines
397 B
Bash
# Push and pop directories on directory stack
|
|
alias pu='pushd'
|
|
alias po='popd'
|
|
|
|
# Basic directory operations
|
|
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 -l'
|
|
alias sl=ls # often screw this up
|
|
|
|
alias afind='ack-grep -il'
|
|
|
|
alias x=extract
|