mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-10 04:00:34 +02:00
fix to multiple alias expansion problem in command substitutions
This commit is contained in:
+3
-1
@@ -13,9 +13,11 @@
|
||||
#
|
||||
|
||||
# this is a new feature: expanding aliases when initially parsing command
|
||||
# substitutions
|
||||
# substitutions. required by posix, so enabled in posix mode. default mode
|
||||
# stays backwards compatible.
|
||||
|
||||
shopt -s expand_aliases
|
||||
set -o posix
|
||||
|
||||
alias switch=case
|
||||
|
||||
|
||||
Reference in New Issue
Block a user