about summary refs log tree commit diff
diff options
context:
space:
mode:
-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