mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
bc2eb383d4
* 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>
2 lines
166 B
Fish
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
|