Predecalre variables in psub

darcs-hash:20051025134043-ac50b-225c021c00211918b8c6957a10018497891cf456.gz
This commit is contained in:
axel 2005-10-25 23:40:43 +10:00
parent a9bf64465c
commit 319956c26b

View File

@ -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