# UTILITY alias ls="ls --group-directories-first --color=auto" alias less='less -R' alias grep='grep --color=auto' alias gdb='gdb -q' alias ..='cd ../' alias -- -='cd -' alias sudoe="sudo -E" alias svim="sudo -E vim" alias svimdiff="sudo -E vimdiff" alias duhs="du -sh * | sort -rh" # Taken from the tmux plugin alias ta="tmux attach -t" alias ts="tmux new-session -s" alias tl="tmux list-sessions" # 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="nocorrect cp -riv" alias mkdir="nocorrect mkdir -vp" alias mv="nocorrect mv -iv" alias rm="rm -vI" # 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" # TASKWARRIOR export TASKBIN="$(builtin which task)" alias task="bash taskw" alias whoaminot="echo adam" alias please="sudo" alias yeet="rm -rf"