aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/psub.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-31 19:32:28 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-31 19:32:28 +0200
commit5043b9d06ef1a9852c8ec3ef5253d61d51d13c11 (patch)
tree69b645e55b40de1b215e44cdce9b07700d3e073c /share/functions/psub.fish
parenta17b9fdabaccb126b4e619b861cc914568616933 (diff)
Revert "Fix missing variable expansion $ in psub"
That change was a bit too eager as the mkfifo route doesn't currently work. See #1040 and #2052. This reverts commit a17b9fdabaccb126b4e619b861cc914568616933.
Diffstat (limited to 'share/functions/psub.fish')
-rw-r--r--share/functions/psub.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/psub.fish b/share/functions/psub.fish
index 9782c5be..d1940449 100644
--- a/share/functions/psub.fish
+++ b/share/functions/psub.fish
@@ -49,7 +49,7 @@ function psub --description "Read from stdin into a file and output the filename
set TMPDIR /tmp
end
- if test $use_fifo = 1
+ if test use_fifo = 1
# Write output to pipe. This needs to be done in the background so
# that the command substitution exits without needing to wait for
# all the commands to exit