Remove ~ from UNSAFE_SHELL_CHAR

This commit is contained in:
Maxim Belkin 2018-04-21 02:34:43 -05:00
parent e5435dfeb7
commit 7b99ac58ab
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -72,7 +72,7 @@ module Utils
zsh: "~/.zshrc",
}.freeze
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@\n])}
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@~\n])}
def csh_quote(str)
# ruby's implementation of shell_escape