2019-05-04 05:46:59 +00:00
|
|
|
# ls shortcuts.
|
2019-12-13 02:46:16 +00:00
|
|
|
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"
|