Add aliases

master
Hektor Misplon 2020-10-18 16:12:08 +02:00
parent 2b17e4bfc3
commit fc56152e80
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,6 @@ alias ..="cd .."
alias ...="cd ../.." alias ...="cd ../.."
# Colorize output # Colorize output
alias ls="ls --color=auto" alias ls="ls --color=auto"
alias grep="grep --color=auto" alias grep="grep --color=auto"
alias ip='ip --color' alias ip='ip --color'
@ -17,6 +16,8 @@ alias la='ls -lha'
alias lgrep='l . | grep' alias lgrep='l . | grep'
alias lagrep='la . | grep' alias lagrep='la . | grep'
# Pretty print path variables
alias path='echo -e ${PATH//:/\\n}'
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
@ -34,3 +35,4 @@ alias now='date "+%I:%M %a %d %b"'
alias spot='ncspot' alias spot='ncspot'
alias todo='todoist' alias todo='todoist'
alias weather='curl wttr.in' alias weather='curl wttr.in'
alias zzz='systemctl suspend && exit'