From 319956c26bf57133d257a908f772342f38666056 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 25 Oct 2005 23:40:43 +1000 Subject: [PATCH] Predecalre variables in psub darcs-hash:20051025134043-ac50b-225c021c00211918b8c6957a10018497891cf456.gz --- init/fish_function.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/fish_function.fish b/init/fish_function.fish index 97d4c6b1e..c9e44630c 100644 --- a/init/fish_function.fish +++ b/init/fish_function.fish @@ -928,6 +928,9 @@ end function psub -d "Read from stdin into a file and output the filename. Remove the file when the command that calles psub exits." + set -l filename + set -l funcname + if count $argv >/dev/null switch $argv[1] case '-h*' --h --he --hel --help