diff --git a/plugins/sprunge/sprunge.fish b/plugins/sprunge/sprunge.fish index 0906bb3..bc4b44c 100644 --- a/plugins/sprunge/sprunge.fish +++ b/plugins/sprunge/sprunge.fish @@ -4,7 +4,7 @@ # Based on oh-my-zsh's sprunge plugin function sprunge - if isatty stdin + if isatty if [ (count $argv) -gt 0 ] if [ -f $argv ] cat $argv