diff options
author | Wolfgang Müller | 2024-03-10 15:29:06 +0100 |
---|---|---|
committer | Wolfgang Müller | 2024-03-10 15:29:06 +0100 |
commit | bf5e99aeba0db77d280c97a956763a9163ec31e9 (patch) | |
tree | d84d599ab199b0cbe3a48606977827e151d02723 /completions | |
download | bass-bf5e99aeba0db77d280c97a956763a9163ec31e9.tar.gz |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | completions/bass.fish | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/completions/bass.fish b/completions/bass.fish new file mode 100644 index 0000000..748954d --- /dev/null +++ b/completions/bass.fish @@ -0,0 +1,12 @@ +set -l commands search find id browse love hate + +complete -c bass -f +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a search -d 'Search with a filter expression' +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a find -d 'Exact search with a filter expression' +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a id -d 'Print MusicBrainz ID of the currently playing track' +complete -c bass -n "__fish_seen_subcommand_from id" -s a -l album -d 'Show ID of the album instead' +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a browse -d 'Open the currently playing track on MusicBrainz' +complete -c bass -n "__fish_seen_subcommand_from browse" -s a -l album -d 'Open the album instead' +complete -c bass -n "__fish_seen_subcommand_from browse" -s o -l open -d 'Open the file in the file manager instead' +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a love -d 'Mark the currently playing track as loved on ListenBrainz' +complete -c bass -n "not __fish_seen_subcommand_from $commands" -a hate -d 'Mark the currently playing track as hated on ListenBrainz' |