Add zsh aliases

This commit is contained in:
Yorick Barbanneau 2023-03-10 22:01:43 +01:00
parent 5b13bfe5f2
commit a65bcf3b8f
2 changed files with 9 additions and 0 deletions

5
files/config/zsh/alias Normal file
View file

@ -0,0 +1,5 @@
alias ls="ls --color"
alias vim=nvim
alias ssh='TERM="xterm-256color" ssh'
alias -s pdf="zathura"
alias -s jpg="imv-wayland"

View file

@ -55,3 +55,7 @@ if [ -f ~/.dir_colors ]; then
eval `dircolors ~/.dir_colors`
fi
# imports Aliases
if [ -f "${XDG_CONFIG_DIR:-"${HOME}/.config"}/zsh/alias" ]; then
source "${XDG_CONFIG_DIR:-"${HOME}/.config"}/zsh/alias"
fi