Breaking up alias declarations into their own lines so that bash-it help aliases will register them

pull/1154/head
Eudaimonstro 2018-03-02 19:05:00 -08:00
parent e9a4718ae0
commit 9e9978033c
1 changed files with 3 additions and 1 deletions

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