mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-05 00:00:51 +00:00
cheat autocomplete
This commit is contained in:
parent
57b4633776
commit
919a310340
9
cheat_zsh_autocomplete.txt
Normal file
9
cheat_zsh_autocomplete.txt
Normal file
@ -0,0 +1,9 @@
|
||||
notes for video: https://www.youtube.com/watch?v=RDsUapd8jVw
|
||||
|
||||
# site: https://github.com/chrisallenlane/cheat
|
||||
# cheat zsh autocomplete; add to ~/.zshrc
|
||||
_cmpl_cheat() {
|
||||
reply=($(cheat -l | cut -d' ' -f1))
|
||||
}
|
||||
compctl -K _cmpl_cheat cheat
|
||||
|
Loading…
Reference in New Issue
Block a user