aboutsummaryrefslogtreecommitdiff
path: root/base/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'base/zsh')
-rw-r--r--base/zsh/aliases.zsh15
1 files changed, 11 insertions, 4 deletions
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"