I'm trying to write a plugin for the fish shell but can't get it to work.
I have the following in a file called functions/codex.fish:
function create_completion
commandline -a test
end
bind \cx create_completion
I installed the plugin using fisher:
tom@desktop-20-3 ~/g/b/z/update_insert (main)> fisher install ~/git/codex.fish/
fisher install version 4.3.1
Installing /home/tom/git/codex.fish
/home/tom/.config/fish/functions/codex.fish
Updated 1 plugin/s
However when I try to run the function using Ctrl+x nothing happens.
What am I doing wrong?