mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
31 lines
494 B
Bash
31 lines
494 B
Bash
# Push and pop directories on directory stack
|
|
alias pu='pushd'
|
|
alias po='popd'
|
|
|
|
# Basic directory operations
|
|
alias ...='cd ../..'
|
|
alias -- -='cd -'
|
|
|
|
# Prevent headaches
|
|
alias cp='cp -v'
|
|
alias rm='rm -v'
|
|
alias mv='mv -v'
|
|
|
|
# Super user
|
|
alias _='sudo'
|
|
alias please='sudo'
|
|
|
|
#alias g='grep -in'
|
|
|
|
# Show history
|
|
alias history='fc -l 1'
|
|
|
|
# List direcory contents
|
|
alias lsa='ls -lah'
|
|
alias l='ls -lah'
|
|
alias ll='ls -lh'
|
|
alias la='ls -lAh'
|
|
alias sl=ls # often screw this up
|
|
|
|
alias afind='ack-grep -il'
|
|
|