dotfiles/zsh/modules/alias/init.zsh

23 lines
417 B
Bash

# ls shortcuts.
if [[ $OSTYPE = 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"
<<<<<<< HEAD
alias lf='ls -1tr | tail -1'
=======
alias lf="ls -1tr | tail -n 1"
>>>>>>> fdc2d49c6e53000b36e793ba7fdd9e1c8e8ec9bb
alias docker="sudo docker"
alias dc="sudo docker-compose"
alias :q="exit"
alias please="sudo"