773e27aeee
It is a rare situation to modify aliases while an alias is currently in use, but this is handled for plain unalias. Handle it for unalias -a as well.
8 lines
62 B
Plaintext
8 lines
62 B
Plaintext
# $FreeBSD$
|
|
|
|
v=1
|
|
alias a='unalias -a
|
|
v=2'
|
|
eval a
|
|
[ "$v" = 2 ]
|