From d42e6976eb2f1be094fa87446b63decc8feea5f7 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Sun, 30 Sep 2018 22:38:56 -0600 Subject: Add some more zsh aliases --- base/zsh/aliases.zsh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'base') diff --git a/base/zsh/aliases.zsh b/base/zsh/aliases.zsh index 21544af..8774939 100644 --- a/base/zsh/aliases.zsh +++ b/base/zsh/aliases.zsh @@ -1,5 +1,4 @@ # UTILITY - alias ls="ls --color=auto" alias less='less -R' alias grep='grep --color=auto' @@ -9,13 +8,22 @@ alias sudoe="sudo -E" alias svim="sudo -E vim" alias svimdiff="sudo -E vimdiff" -# SAFETY +alias qr="qrencode -t UTF8" + +# Pour les erreurs de clavier +alias exti="exit" +alias eit="exit" + +# Suffixes +alias -s pdf='zathura' +alias -s {jpg,png,gif}='feh' +alias -s {wmv,mp4,avi,flv,mkv,mp3,ogg,flac,wav}='mplayer' +# SAFETY alias cp="cp -i" alias mv="mv -i" # GIT - alias gd='git diff' alias gco='git checkout' alias gs='git status --short' @@ -25,7 +33,6 @@ alias gpp='git pull; git push' alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' # POWER - alias reboot="systemctl reboot" alias shutdown="systemctl poweroff" alias poweroff="systemctl poweroff" -- cgit v1.2.3-70-g09d2