mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
Fix ampersand redirector
This commit is contained in:
parent
509d152e54
commit
cf7a6a6a65
1 changed files with 2 additions and 1 deletions
|
@ -422,9 +422,10 @@ x
|
|||
# A special case. Tidy up after commands.
|
||||
# Redirectors
|
||||
s/\([^{|] *\)|/\1@redr{|}/g
|
||||
s/&$/@redr{\&}/
|
||||
s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g
|
||||
s/\([^{<>^] *\)\([0-9]* *[<>^][<>^]*[^@][a-zA-Z0-9._-]*\)/\1@redr{\2}/g
|
||||
s/\\}/}\\/g
|
||||
#s/\\}/}\\/g
|
||||
#.
|
||||
# Now we can add in 'unsafe' entities that would be too greedy.
|
||||
# Declared Variables
|
||||
|
|
Loading…
Reference in a new issue