Slightly condensed sprunge now that sendtoclip is its own function.

This commit is contained in:
Simon Gomizelj 2011-11-30 09:32:49 -05:00
commit 7061378909

View file

@ -64,8 +64,5 @@ sprunge() {
echo $url echo $url
# don't copy to clipboad if piped # don't copy to clipboad if piped
[[ ! -t 1 ]] && return 0 [[ -t 1 ]] && sendtoclip $urls
# copy urls to primary and secondary clipboards
sendtoclip $urls
} }