fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
932010cd0
master
1# The reason for `__this-command-does-not-exist` is that, if dynamic completion 2# is not implemented, we'd like to get an error reliably. However, the 3# behavior of `jj` without arguments depends on the value of a config, see 4# https://jj-vcs.github.io/jj/latest/config/#default-command 5if set -l completion( COMPLETE=fish jj __this-command-does-not-exist2> /dev/null) 6# jj is new enough for dynamic completions to be implemented 7printf %s\n $completion | source 8else 9jj util completion fish| source 10end