mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08: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>
3 lines
166 B
Fish
3 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
|