Leave a note on how to add shell completions for lfcd in ZSH
This commit is contained in:
1 parent
488294588e
commit
c28393dd43
1 file changed
+6
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user