Added extglobs as splitting words
This commit is contained in:
parent
131b9f0517
commit
0ca6d0f6cc
|
@ -78,6 +78,7 @@ willSplit x =
|
||||||
T_DollarBraced _ _ -> True
|
T_DollarBraced _ _ -> True
|
||||||
T_DollarExpansion _ _ -> True
|
T_DollarExpansion _ _ -> True
|
||||||
T_BraceExpansion _ s -> True
|
T_BraceExpansion _ s -> True
|
||||||
|
T_Extglob _ _ _ -> True
|
||||||
T_NormalWord _ l -> any willSplit l
|
T_NormalWord _ l -> any willSplit l
|
||||||
T_Literal _ s -> isGlob s
|
T_Literal _ s -> isGlob s
|
||||||
_ -> False
|
_ -> False
|
||||||
|
|
Loading…
Reference in New Issue