diff options
-rw-r--r-- | functions/bass.fish | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/functions/bass.fish b/functions/bass.fish index dee4074..b0dd220 100644 --- a/functions/bass.fish +++ b/functions/bass.fish @@ -31,7 +31,10 @@ function __bass_print if not isatty stdout echo $file - else if set -q _flag_playlist + continue + end + + if set -q _flag_playlist set -l current (mpc -f "%position%" current) if test "$position" = "$current" @@ -39,11 +42,9 @@ function __bass_print else echo -n " " end - - __bass_print_track $title $artist $album - else - __bass_print_track $title $artist $album end + + __bass_print_track $title $artist $album end end |