fish-shell/share/completions/funced.fish
2020-03-19 21:55:40 +01:00

4 lines
301 B
Fish

complete -c funced -xa "(functions -na)" -d "Save function"
complete -c funced -s e -l editor -d 'Open function in external editor' -xa '(__fish_complete_command)'
complete -c funced -s i -l interactive -d 'Edit in interactive mode'
complete -c funced -s s -l save -d 'Autosave after successful edit'