2016-12-24 12:57:13 -08:00
|
|
|
alias ls="${aliases[ls]:-ls} --color=auto --group-directories-first"
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
|
|
alias open='xdg-open'
|
|
|
|
|
2016-11-03 10:51:32 -07:00
|
|
|
alias sys='systemctl'
|
|
|
|
alias sys!='sudo systemctl'
|
|
|
|
|
|
|
|
alias pac='pacaur'
|
|
|
|
alias pacu='pacaur -Syu' # upgrade
|
|
|
|
alias pacc='pacaur -Sc' # clean
|
|
|
|
alias paco='pacaur -Qtdq' # orphaned packages
|
2016-10-19 07:56:37 -07:00
|
|
|
|
2016-11-15 12:46:57 -08:00
|
|
|
alias localip='ip route get 1 | awk "{print \$NF;exit}"'
|
2016-11-04 17:54:47 -07:00
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
if (( $+commands[xclip] )); then
|
|
|
|
alias y='xclip -selection clipboard -in'
|
|
|
|
alias p='xclip -selection clipboard -out'
|
|
|
|
elif (( $+commands[xsel] )); then
|
|
|
|
alias y='xsel --clipboard --input'
|
|
|
|
alias p='xsel --clipboard --output'
|
|
|
|
fi
|
2016-12-30 00:03:57 -08:00
|
|
|
|
|
|
|
alias reboot="systemctl reboot"
|
|
|
|
alias shutdown="systemctl poweroff"
|