about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_lftp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/User/_lftp b/Completion/User/_lftp
new file mode 100644
index 000000000..610f6991a
--- /dev/null
+++ b/Completion/User/_lftp
@@ -0,0 +1,5 @@
+#compdef lftp
+if [[ -f ~/.lftp/bookmarks ]]; then
+  _wanted bookmarks expl bookmark \
+      compadd - $(cut -f1 ~/.lftp/bookmarks) && return 0
+fi