Skip to content

Commit 72620d2

Browse files
committed
fix quotes
1 parent 8ce8291 commit 72620d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: internal/shell/bash/action.go

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ func ActionRawValues(currentWord string, meta common.Meta, values common.RawValu
126126

127127
func requiresQuoting(s string) bool {
128128
chars := " \t\r\n`" + `[]{}()<>;|$&:*#`
129+
chars += `'"`
129130
chars += os.Getenv("COMP_WORDBREAKS")
130131
chars += `\`
131132
return strings.ContainsAny(s, chars)

0 commit comments

Comments
 (0)