diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-26 13:02:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-26 13:02:30 +0000 |
commit | 006e9b9afba10e2e64d86538fe5777376c8f0f57 (patch) | |
tree | 4cba2693f257bb5392faa929731bf5bcfdff8de0 /Completion/User | |
parent | 85de1eae0bbd3e94fa73cb56cb847d3edff99f59 (diff) | |
download | zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.gz zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.xz zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.zip |
change $words[1] to $service in some more places (13534)
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_man | 2 | ||||
-rw-r--r-- | Completion/User/_nedit | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_man b/Completion/User/_man index 8f255c411..26f41b606 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -2,7 +2,7 @@ local rep expl star approx mrd -if [[ $words[1] == man ]] && (( $words[(I)-l] + $words[(I)--local-file] )); then +if [[ $service == man ]] && (( $words[(I)-l] + $words[(I)--local-file] )); then _files || return 0 fi diff --git a/Completion/User/_nedit b/Completion/User/_nedit index 5d8e329a8..f25ad503a 100644 --- a/Completion/User/_nedit +++ b/Completion/User/_nedit @@ -14,7 +14,7 @@ nedit_common=( \ '*-xrm:resource:_x_resource' \ '*:file:_files' ) -if [[ $words[1] = *nc ]]; then +if [[ $service = *nc ]]; then _x_arguments -C \ '(-noask)-ask[prompt if no server found]' \ '(-ask)-noask[start a new server without asking if none found]' \ |