2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-28 12:45:13 +00:00
fish-shell/share/completions/funcsave.fish
Donovan bc2eb383d4
Funcsave with --directory option ()
* 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