summaryrefslogtreecommitdiffstats
path: root/Completion/User/_mount
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-15 09:11:31 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-15 09:11:31 +0000
commitca585f812b02071cc261fb9dbe463bab6f8be602 (patch)
treee90c1af1169132098b62207ced35fdf83607e910 /Completion/User/_mount
parentfix for 13339 (report each position only once) and fixlet for matching: a cas... (diff)
downloadzsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.gz
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.bz2
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.lz
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.xz
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.zst
zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.zip
add `services', allowing easier re-use of (parts of) completion functions (13346)
Diffstat (limited to 'Completion/User/_mount')
-rw-r--r--Completion/User/_mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_mount b/Completion/User/_mount
index 50fa769b2..cbd762583 100644
--- a/Completion/User/_mount
+++ b/Completion/User/_mount
@@ -368,7 +368,7 @@ if (( ! $+_fs_any )); then
esac
fi
-if [[ "${words[1]:t}" = mount ]]; then
+if [[ "$service" = mount ]]; then
# Here are the tests and tables for the arguments and options for
# the `mount' program. The `fss' array has to be set to the names