about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Completer/_expand2
1 files changed, 2 insertions, 0 deletions
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