mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
One of the things I ended up doing after installing is trying to grep through the whole list of new aliases. Ended up trying this few times before realizing might be useful within zsh
28 lines
469 B
Bash
28 lines
469 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 please='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 la='ls -lA'
|
|
alias sl=ls # often screw this up
|
|
|
|
alias afind='ack-grep -il'
|
|
|
|
# search aliases
|
|
alias manalias='alias | grep -i'
|