From bf5e99aeba0db77d280c97a956763a9163ec31e9 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 10 Mar 2024 15:29:06 +0100 Subject: Initial commit --- completions/bass.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 completions/bass.fish (limited to 'completions') 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' -- cgit v1.2.3-2-gb3c3