diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2005-03-22 20:03:49 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2005-03-22 20:03:49 +0000 |
commit | 05291f7e2ddba5a942a50f6c3241ce5b253eaa4c (patch) | |
tree | e951138b60d92e151218a5d4c2f006efeade22a9 | |
parent | 4883bbeebcb5df803c381deaddb181323606fd80 (diff) | |
download | zsh-05291f7e2ddba5a942a50f6c3241ce5b253eaa4c.tar.gz zsh-05291f7e2ddba5a942a50f6c3241ce5b253eaa4c.tar.xz zsh-05291f7e2ddba5a942a50f6c3241ce5b253eaa4c.zip |
21051: more tweaks in SVR4 completion
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Unix/Command/_fuser | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 18316df5f..6c9a53184 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-03-22 Andrey Borzenkov <bor@zsh.org> + + * 21051 (modifed as suugested by Oliver in 21052): + Completion/Unix/Command/_fuser: for SVR4 complete signals only after + -k; fix file name as first argument. + 2005-03-21 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> * 21046: Completion/Base/Completer/_approximate: use extra tests diff --git a/Completion/Unix/Command/_fuser b/Completion/Unix/Command/_fuser index 6cfbf407d..5252839c5 100644 --- a/Completion/Unix/Command/_fuser +++ b/Completion/Unix/Command/_fuser @@ -27,7 +27,7 @@ else ) ;; sysv4 ) - arg1=( ':signal:_signals -p' ) + (( $+words[(r)-k] )) && arg1=( ':signal: _alternative signals\:signal\:_signals\ -p files:name:_files' ) ;; esac @@ -38,5 +38,5 @@ else '-u[append the user name of the process owner to each PID]' \ $args \ $arg1 \ - ':name:_files' + '*:name:_files' fi |