2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-22 17:55:11 +00:00
fish-shell/share/completions/funced.fish
2023-12-31 23:04:19 +08:00

4 lines
310 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 fish, not external editor'
complete -c funced -s s -l save -d 'Autosave after successful edit'