about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmou@users.sourceforge.net>2001-03-11 23:51:29 +0000
committerChmouel Boudjnah <chmou@users.sourceforge.net>2001-03-11 23:51:29 +0000
commit0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c (patch)
treebc260220cc77dd6b651b8dd16123497328aef181 /Completion/User
parente264c1bee199acd99267e2142ab22507cadb488a (diff)
downloadzsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.tar.gz
zsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.tar.xz
zsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.zip
Add completion for lftp
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