dotfiles/zsh/modules/alias/init.zsh

19 lines
316 B
Bash
Raw Normal View History

2019-05-04 05:46:59 +00:00
# ls shortcuts.
if [[ $OSTYPE = darwin* ]] ; then
2019-05-04 05:46:59 +00:00
color_flag="-G"
else
color_flag="--color"
fi
alias ls="ls $color_flag"
alias l="ls -lh $color_flag"
alias la="ls -lha $color_flag"
2019-12-11 21:56:30 +00:00
alias lf='ls -1tr | tail -1'
2019-05-04 05:46:59 +00:00
alias docker="sudo docker"
alias dc="sudo docker-compose"
alias :q="exit"
2019-08-18 16:45:35 +00:00
alias please="sudo"