Merge pull request #1154 from eudaimonstro/master
Clipboard's aliases will now appear on bash-it help aliasespull/1157/head
commit
b2dccd50dd
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue