mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 05:16:30 +00:00
add comment and example
This commit is contained in:
parent
f877117244
commit
908d4f084d
@ -1,3 +1,7 @@
|
|||||||
|
# __fzf_complete
|
||||||
|
# Usage: Edit an existing completion and update the command to pipe the results or pass them into this function
|
||||||
|
# Example example: complete -c cat -a "(ls | __fzf_complete)"
|
||||||
|
# Author: ViViDboarder
|
||||||
function __fzf_complete --description "Prints values passed as args or through stdin for completion through fzf, if available. This can be disabled by using ENABLE_FZF_COMPLETE"
|
function __fzf_complete --description "Prints values passed as args or through stdin for completion through fzf, if available. This can be disabled by using ENABLE_FZF_COMPLETE"
|
||||||
set -l cmd ""
|
set -l cmd ""
|
||||||
if count $argv > /dev/null
|
if count $argv > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user