helm/base/arch/aliases.zsh

23 lines
567 B
Bash
Raw Normal View History

alias ls="${aliases[ls]:-ls} --color=auto --group-directories-first"
alias kb=keybase
alias sc=systemctl
2017-12-26 09:50:48 -08:00
alias jc=journalctl
alias ssc='sudo systemctl'
2017-12-25 11:16:26 -08:00
alias ufw='sudo ufw'
alias yayc='yay -Sc' # clean pacman
alias yayo='yay -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