helm/os/arch/aliases.zsh
2016-10-19 16:56:37 +02:00

15 lines
362 B
Bash

alias ls="${aliases[ls]:-ls} --color=auto"
alias open='xdg-open'
alias pac='sudo pacman'
alias pacu='sudo pacman -Syu'
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