lib/utilities: quote SC2295
Doesn't show up on my shellcheck 0.7.2, but does for NoahGorny!pull/1973/head
parent
b986c39040
commit
b8ee63c67d
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue