On 2019-01-19 23:23, Marcin Zajączkowski wrote: > Hi, > > In Fish 3, my custom completions for my custom Git aliases fail with: >> fish: __fish_git_using_command: command not found...
The problem was using: > source $__fish_datadir/completions/git.fish which in Fish 3 should be: > source $__fish_data_dir/completions/git.fish That fixed the problem. Marcin > > repeated a few times. > > Sample completion: >> complete -f -c git -n '__fish_git_using_command publish' -a >> '(__fish_git_remotes)' >> complete -f -c git -n '__fish_git_using_command unpublish' -a >> '(__fish_git_remotes)' > > (it 'git publish' publishes a newly created branch to a remote repo > without a need to set origin manually - for examples: > https://github.com/szpak/gitkurka/blob/master/completions/fish/git.fish) > > In fact it fails on every Git completion as aforementioned function is > not recognized. However, I see "function __fish_git_using_command" in > /usr/share/fish/completions/git.fish . How can I reference it? > > Fish 3.0.0, Fedora 29. > > Marcin > -- https://blog.solidsoft.info/ - Working code is not enough _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users