Added Aliases for zsh
This commit is contained in:
parent
00a03181fe
commit
22a4e2a76a
14
zsh/modules/alias/init.zsh
Normal file
14
zsh/modules/alias/init.zsh
Normal file
|
@ -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"
|
|
@ -50,6 +50,10 @@ zplug "${ZDIR}/modules/keybinds/", \
|
||||||
from:local, \
|
from:local, \
|
||||||
as:plugin
|
as:plugin
|
||||||
|
|
||||||
|
zplug "${ZDIR}/modules/alias/", \
|
||||||
|
from:local, \
|
||||||
|
as:plugin
|
||||||
|
|
||||||
zplug "denysdovhan/spaceship-prompt", \
|
zplug "denysdovhan/spaceship-prompt", \
|
||||||
use:spaceship.zsh, \
|
use:spaceship.zsh, \
|
||||||
from:github, \
|
from:github, \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user