blob: 7167d08eb482c42f6bf163675f58bfe9f10cec7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# UTILITY
alias ls="ls --group-directories-first --color=auto"
alias less='less -R'
alias grep='grep --color=auto'
alias ..='cd ../'
alias sudoe="sudo -E"
alias svim="sudo -E vim"
alias svimdiff="sudo -E vimdiff"
alias qr="qrencode -t UTF8"
alias duhs="du -sh * | sort -rh"
# Pour les erreurs de clavier
alias exti=" exit"
alias exxit=" exit"
alias exir=" 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 gits='git status --short'
alias gp='git push'
alias gl='git pull'
alias ga='git add'
alias gco='git checkout'
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
# POWER
alias reboot="systemctl reboot"
alias shutdown="systemctl poweroff"
alias poweroff="systemctl poweroff"
|