mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Fix ampersand redirector
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -49,3 +49,5 @@ doc_src/.editorconfig
|
|||||||
|
|
||||||
|
|
||||||
lexicon.log
|
lexicon.log
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|||||||
@@ -422,9 +422,10 @@ x
|
|||||||
# A special case. Tidy up after commands.
|
# A special case. Tidy up after commands.
|
||||||
# Redirectors
|
# Redirectors
|
||||||
s/\([^{|] *\)|/\1@redr{|}/g
|
s/\([^{|] *\)|/\1@redr{|}/g
|
||||||
|
s/&$/@redr{\&}/
|
||||||
s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g
|
s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g
|
||||||
s/\([^{<>^] *\)\([0-9]* *[<>^][<>^]*[^@][a-zA-Z0-9._-]*\)/\1@redr{\2}/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.
|
# Now we can add in 'unsafe' entities that would be too greedy.
|
||||||
# Declared Variables
|
# Declared Variables
|
||||||
|
|||||||
Reference in New Issue
Block a user