Add aliases

master
Hektor Misplon 2020-05-07 00:09:35 +00:00
parent 632e4e3ef1
commit 507653ddaf
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
alias bashrc="vim ~/.bashrc" alias bashrc="vim ~/.bashrc"
alias aliasrc="vim ~/.aliasrc" alias aliasrc="vim ~/.aliasrc"
alias ..="cd .."
alias ...="cd ../.."
alias ls="ls --color=auto" alias ls="ls --color=auto"
alias grep="grep --color=auto" alias grep="grep --color=auto"
@ -11,6 +14,8 @@ alias la='ls -lha'
alias lgrep='l . | grep' alias lgrep='l . | grep'
alias lagrep='la . | grep' alias lagrep='la . | grep'
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias vi='vim' alias vi='vim'
alias py='python' alias py='python'
alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h' alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h'
@ -18,5 +23,6 @@ alias now='date "+%I:%M %a %d %b"'
alias lm='xbacklight -set' alias lm='xbacklight -set'
alias bat='cat /sys/class/power_supply/BAT0/capacity' alias bat='cat /sys/class/power_supply/BAT0/capacity'
alias spotify='ncspot' alias spot='ncspot'
alias todo='todoist'
alias weather='curl wttr.in' alias weather='curl wttr.in'