dotfiles/zsh/modules/alias/init.zsh

15 lines
266 B
Bash

# ls shortcuts.
if [[ $OS_TYPE = darwin* ]] ; then
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"
alias docker="sudo docker"
alias dc="sudo docker-compose"
alias :q="exit"