fish-shell/share/completions/funcsave.fish
Donovan bc2eb383d4
Funcsave with --directory option (#7041)
* funcsave: add option --directory

Signed-off-by: Donovan Jean <commit@dkrm.dev>

* funcsave: fix synopsis

Signed-off-by: Donovan Jean <commit@dkrm.dev>

* funcsave: fix completion

Signed-off-by: Donovan Jean <commit@dkrm.dev>

* funcsave: fix error message

Signed-off-by: Donovan Jean <commit@dkrm.dev>

* funcsave: fix parameter expansion

Signed-off-by: Donovan Jean <commit@dkrm.dev>
2020-05-27 20:13:44 +02:00

2 lines
166 B
Fish

complete -c funcsave -xa "(functions -na)" -d "Save function"
complete -c funcsave -s d -l directory -d "Directory to save the functions" -a '$fish_function_path' -r