Skip to content

Commit e2b6ba6

Browse files
committed
shellcheck: fix quoting issue
1 parent 0f84b7d commit e2b6ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-clone-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ _resolve_var() { echo "${!1}"; }
12401240
_esc_string() {
12411241
# shellcheck disable=SC1003,SC2089
12421242
local _scp_path_esc='[][(){}<>",:;^&!$=?`|\\'"'"'[:space:]]'
1243-
sed -e 's/'$_scp_path_esc'/\\&/g'
1243+
sed -e 's/'"$_scp_path_esc"'/\\&/g'
12441244
}
12451245

12461246
_complete_fragment()

0 commit comments

Comments
 (0)