summary refs log tree commit diff
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
parente264c1bee199acd99267e2142ab22507cadb488a (diff)
downloadzsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.tar.gz
zsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.tar.xz
zsh-0f7eb6ce3d4ca72b46cce9f8111185b7919eae5c.zip
Add completion for lftp
-rw-r--r--ChangeLog4
-rw-r--r--Completion/User/_lftp5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ee34ab5c..12199da58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-12  Chmouel Boudjnah <chmouel@mandrakesoft.com>
+
+	* 13601: Completion/User/_lftp: Add completion for lftp
+
 2001-03-11  Oliver Kiddle  <opk@zsh.org>
 
 	* 13600: Completion/Base/_subscript, Completion/Core/_files,
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