lib/utilities: quote SC2295

Doesn't show up on my shellcheck 0.7.2, but does for NoahGorny!
pull/1973/head
John D Pell 2021-10-12 10:58:49 -07:00
parent b986c39040
commit b8ee63c67d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function _bash-it-get-component-name-from-path() {
# filename without path # filename without path
filename="${1##*/}" filename="${1##*/}"
# filename without path or priority # filename without path or priority
filename="${filename##*${BASH_IT_LOAD_PRIORITY_SEPARATOR?}}" filename="${filename##*"${BASH_IT_LOAD_PRIORITY_SEPARATOR?}"}"
# filename without path, priority or extension # filename without path, priority or extension
echo "${filename%.*.bash}" echo "${filename%.*.bash}"
} }