Incorrect installation location of mcfly.fish file
The mcfly.fish
file is supposed to be sourced automatically at the start of every interactive shell. Putting this file in vendor_completions.d
is incorrect, since files placed there are only loaded when the corresponding command is tried for tab completion by the user.
In the case of the mcfly
command, the user is not supposed to tab complete it, and neither does the mcfly.fish
file actually contain tab completion code in it.
The following line:
install -Dm 644 "$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
should be:
install -Dm 644 "$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_conf.d"