mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-22 07:21:55 +00:00
Escape the ~ character
darcs-hash:20051209121954-ac50b-347571c227de795661694f31ff4ab9eafdda0e39.gz
This commit is contained in:
parent
780ecc46fc
commit
f05da41159
1 changed files with 2 additions and 1 deletions
3
common.c
3
common.c
|
@ -933,8 +933,9 @@ wchar_t *escape( const wchar_t *in,
|
|||
case L';':
|
||||
case L':':
|
||||
case L'\'':
|
||||
case L'\"':
|
||||
case L'"':
|
||||
case L'%':
|
||||
case L'~':
|
||||
if( escape_all )
|
||||
*pos++ = L'\\';
|
||||
*pos++ = *in;
|
||||
|
|
Loading…
Reference in a new issue