Documentation and completion updates

darcs-hash:20051021123945-ac50b-3d3b5004fdf8424190cae84c7b27b2088c87c080.gz
This commit is contained in:
axel
2005-10-21 22:39:45 +10:00
parent a91c5fa86a
commit 6139df926b
7 changed files with 61 additions and 7 deletions

View File

@@ -921,8 +921,22 @@ function umask -d "Set default file permission mask"
end
function psub -d "Read from stdin into a file and output the filename. Remove the file when the command that calles psub exits."
if count $argv >/dev/null
switch $argv[1]
case '-h*' --h --he --hel --help
help psub
return 0
case '*'
echo psub: Unknown argument $argv[1]
return 1
end
end
if not status --is-command-substitution
echo psub: Not inside of command substitution
return
@@ -958,9 +972,6 @@ function psub -d "Read from stdin into a file and output the filename. Remove th
end
if status --is-interactive
function prevd-or-backward-word --key-binding
if test -z (commandline)
prevd
@@ -991,5 +1002,3 @@ function delete-or-exit --key-binding
exit
end
end
end