mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
...
This commit is contained in:
@@ -27,7 +27,6 @@ func QuoteStringForFish(x string) string {
|
||||
|
||||
// Escapes common shell meta characters
|
||||
func EscapeSHMetaCharacters(x string) string {
|
||||
const metachars = "\\|&;<>()$'\" \n\t"
|
||||
ans := strings.Builder{}
|
||||
ans.Grow(len(x) + 32)
|
||||
for _, ch := range x {
|
||||
|
||||
Reference in New Issue
Block a user