Merge pull request #1154 from eudaimonstro/master

Clipboard's aliases will now appear on bash-it help aliases
This commit is contained in:
Nils Winkler
2018-03-05 10:46:22 +01:00
committed by GitHub

View File

@@ -4,7 +4,9 @@ about-alias 'pbcopy and pbpaste shortcuts to linux'
case $OSTYPE in
linux*)
XCLIP=$(command -v xclip)
[[ $XCLIP ]] && alias pbcopy="$XCLIP -selection clipboard" && alias pbpaste="$XCLIP -selection clipboard -o"
[[ $XCLIP ]] && \
alias pbcopy="$XCLIP -selection clipboard" && \
alias pbpaste="$XCLIP -selection clipboard -o"
;;
esac