We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f85519c commit 91d3b26Copy full SHA for 91d3b26
bash_completion
@@ -554,7 +554,8 @@ _quote_readline_by_ref()
554
if [[ ${!2} == \$\'*\' ]]; then
555
local value=${!2:2:-1} # Strip beginning $' and ending '.
556
value=${value//'%'/%%} # Escape % for printf format.
557
- printf -v value %s "$value" # Decode escape sequences of \....
+ # shellcheck disable=SC2059
558
+ printf -v value "$value" # Decode escape sequences of \....
559
local "$2" && _upvars -v "$2" "$value"
560
fi
561
0 commit comments