From 1255651348786f0cab9d40b74e5dd5ede389373c Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Wed, 30 Apr 2014 16:46:53 -0300 Subject: [PATCH] Workaround for https://github.com/fish-shell/fish-shell/issues/1443 --- plugins/sprunge/sprunge.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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