mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
25b1cd687b
- Cleans out aliases.zsh. - Removes unneeded cd function.
22 lines
367 B
Bash
22 lines
367 B
Bash
# Super user
|
|
alias _='sudo'
|
|
alias please='sudo'
|
|
|
|
#alias g='grep -in'
|
|
|
|
# Show history
|
|
if [ "$HIST_STAMPS" = "mm/dd/yyyy" ]
|
|
then
|
|
alias history='fc -fl 1'
|
|
elif [ "$HIST_STAMPS" = "dd.mm.yyyy" ]
|
|
then
|
|
alias history='fc -El 1'
|
|
elif [ "$HIST_STAMPS" = "yyyy-mm-dd" ]
|
|
then
|
|
alias history='fc -il 1'
|
|
else
|
|
alias history='fc -l 1'
|
|
fi
|
|
|
|
alias afind='ack-grep -il'
|
|
|