summaryrefslogtreecommitdiff
path: root/completions/lftp
diff options
context:
space:
mode:
Diffstat (limited to 'completions/lftp')
-rw-r--r--completions/lftp4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/lftp b/completions/lftp
index edb363b2..3eb07399 100644
--- a/completions/lftp
+++ b/completions/lftp
@@ -21,8 +21,8 @@ _lftp()
fi
COMPREPLY=( $( compgen -W \
- '$( cut -f 1 -s ~/.lftp/bookmarks 2>/dev/null )' -- "$cur" ) )
- _known_hosts_real "$cur"
+ '$( cut -f 1 -s ~/.lftp/bookmarks ${XDG_DATA_HOME:-$HOME/.local/share}/lftp/bookmarks 2>/dev/null )' -- "$cur" ) )
+ _known_hosts_real -- "$cur"
} &&
complete -F _lftp lftp