mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +08:00
7ffb9359f6
* feat: completion for archlinux-java * docs: update CHANGELOG.rst
10 lines
804 B
Fish
10 lines
804 B
Fish
complete -c archlinux-java -f
|
|
complete -c archlinux-java -n __fish_use_subcommand -a status -d 'List installed Java environments and enabled one'
|
|
complete -c archlinux-java -n __fish_use_subcommand -a set -d 'Force <JAVA_ENV> as default'
|
|
complete -c archlinux-java -n __fish_use_subcommand -a unset -d 'Unset current default Java environment'
|
|
complete -c archlinux-java -n __fish_use_subcommand -a get -d 'Return the short name of the Java environment set as default'
|
|
complete -c archlinux-java -n __fish_use_subcommand -a fix -d 'Fix an invalid/broken default Java environment configuration'
|
|
complete -c archlinux-java -n __fish_use_subcommand -a help -d 'Show help'
|
|
|
|
complete -c archlinux-java -n "__fish_seen_subcommand_from set" -a "(archlinux-java status | tail -n +2 | tr -s ' ' | cut -d ' ' -f2)"
|