about summary refs log tree commit diff
path: root/Completion/User/_ncftp
diff options
context:
space:
mode:
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