aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2018-09-30 22:38:56 -0600
committerAdam Hovorka <[email protected]>2018-09-30 22:38:56 -0600
commitd42e6976eb2f1be094fa87446b63decc8feea5f7 (patch)
tree8c811ba7979f7e65149ac4f7bcdfe7792bddd1b3 /base
parent9c1224578330135406ddc9f461184ff1f6756c0c (diff)
Add some more zsh aliases
Diffstat (limited to 'base')
-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"