# Input vars: random
beetag-pl-state-init() {
local seed_num seed_file pl_state_dir pl_state_file
- # note: this structure of files is rather haphazard.
+ # note: this structure of files is rather haphazard.
seed_num=1 # later we might want a few
seed_file=seed$seed_num
pl_state_path=$pl_state_dir/$pl_state_file
pl_seed_path=$pl_state_dir/$seed_file
- }
+}
# tag with beets.
# usage: beetag [-r] [-s] QUERY
local quotes others ret
quotes=2048,2064,2068,2086,2119,2206,2254,2231
others=2029,2032,2033,2054,2164,2317
- shellcheck -a -x -W 999 -e $quotes,$others "$@" || ret=$?
+ shellcheck -ax -W 999 -e $quotes,$others "$@" || ret=$?
if (( ret >= 1 )); then
echo "A template comment to disable is now in clipboard. eg: # shellcheck disable=SC2206 # reason"
cbs "# shellcheck disable=SC"