diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index f1bf38785..7ccb806bb 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -64,8 +64,5 @@ sprunge() { echo $url # don't copy to clipboad if piped - [[ ! -t 1 ]] && return 0 - - # copy urls to primary and secondary clipboards - sendtoclip $urls + [[ -t 1 ]] && sendtoclip $urls }