helm/base/arch/aliases.zsh
2017-12-26 12:50:48 -05:00

25 lines
627 B
Bash

alias ls="${aliases[ls]:-ls} --color=auto --group-directories-first"
alias kb=keybase
alias sc=systemctl
alias jc=journalctl
alias ssc='sudo systemctl'
alias ufw='sudo ufw'
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