diff --git a/etc/lfcd.sh b/etc/lfcd.sh index e35199af..55373baf 100644 --- a/etc/lfcd.sh +++ b/etc/lfcd.sh @@ -13,6 +13,12 @@ # bind '"\C-o":"lfcd\C-m"' # bash # bindkey -s '^o' 'lfcd\n' # zsh # +# If you are a ZSH user, and have installed ZSH completions for LF, +# you may also like to enable them for `lfcd` as well. +# To do so, after sourcing/defining `lfcd` function, put the following line: +# +# compdef _lf lfcd +# lfcd () { # `command` is needed in case `lfcd` is aliased to `lf`