23 lines
586 B
Bash
23 lines
586 B
Bash
alias ls="${aliases[ls]:-ls} --color=auto --group-directories-first"
|
|
|
|
alias kb=keybase
|
|
alias sc=systemctl
|
|
alias ssc='sudo systemctl'
|
|
|
|
alias pac=pacaur
|
|
alias pacu='pacaur -Syu' # upgrade
|
|
alias pacc='pacaur -Sc' # clean pacman
|
|
alias paco='pacaur -Qtdq' # orphaned packages
|
|
|
|
alias reboot='sudo systemctl reboot'
|
|
alias shutdown='sudo systemctl poweroff'
|
|
|
|
# Clipboard pipes
|
|
if _is_callable xclip; then
|
|
alias y='xclip -selection clipboard -in'
|
|
alias p='xclip -selection clipboard -out'
|
|
elif _is_callable xsel; then
|
|
alias y='xsel -i --clipboard'
|
|
alias p='xsel -o --clipboard'
|
|
fi
|