diff --git a/zsh/modules/alias/init.zsh b/zsh/modules/alias/init.zsh new file mode 100644 index 0000000..2eb7293 --- /dev/null +++ b/zsh/modules/alias/init.zsh @@ -0,0 +1,14 @@ +# 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" diff --git a/zsh/zplug b/zsh/zplug index 808dd3e..ddc0033 100644 --- a/zsh/zplug +++ b/zsh/zplug @@ -50,6 +50,10 @@ zplug "${ZDIR}/modules/keybinds/", \ from:local, \ as:plugin +zplug "${ZDIR}/modules/alias/", \ + from:local, \ + as:plugin + zplug "denysdovhan/spaceship-prompt", \ use:spaceship.zsh, \ from:github, \