about summary refs log tree commit diff
path: root/Completion/User/_ncftp
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-03-11 22:53:41 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-03-11 22:53:41 +0000
commite264c1bee199acd99267e2142ab22507cadb488a (patch)
treeaf471605f1dafb99214a91b44dedd17f350ae703 /Completion/User/_ncftp
parentc140245164e0448685940f17fd8efcbc8109b237 (diff)
downloadzsh-e264c1bee199acd99267e2142ab22507cadb488a.tar.gz
zsh-e264c1bee199acd99267e2142ab22507cadb488a.tar.xz
zsh-e264c1bee199acd99267e2142ab22507cadb488a.zip
Various new, improved, fixed or updated functions (13600)
Diffstat (limited to 'Completion/User/_ncftp')
-rw-r--r--Completion/User/_ncftp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/User/_ncftp b/Completion/User/_ncftp
new file mode 100644
index 000000000..e760b3536
--- /dev/null
+++ b/Completion/User/_ncftp
@@ -0,0 +1,8 @@
+#compdef ncftp
+
+if [[ -f ~/.ncftp/bookmarks ]]; then
+  _wanted bookmarks expl bookmark \
+      compadd - $(awk -F, 'NR > 2 { print $1 }' ~/.ncftp/bookmarks) && return 0
+fi
+
+_hosts