From f89571085a45bde423642126224911ade8192c7d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 8 Mar 2006 07:50:29 +0000 Subject: Briefly enable aliases for one of the evals so that the expansion of a $(...) or `...` properly uses normal and global aliases. --- Completion/Base/Completer/_expand | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Base') diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand index 4bb9ab777..89cc969c5 100644 --- a/Completion/Base/Completer/_expand +++ b/Completion/Base/Completer/_expand @@ -85,9 +85,11 @@ if [[ "$force" = *s* ]] || ### the following expression, too. We don't want that, but I have no ### idea how to fix it. + setopt aliases eval 'exp=( ${${(e)exp//\\[ ]/ }//(#b)([ ])/\\$match[1]} )' 2>/dev/null + setopt NO_aliases else exp=( ${exp:s/\\\$/\$} ) fi -- cgit 1.4.1