diff --git a/Completion/User/_tilde_files b/Completion/User/_tilde_files index 6fb393dc5..ee6b18088 100644 --- a/Completion/User/_tilde_files +++ b/Completion/User/_tilde_files @@ -2,7 +2,7 @@ # Complete files and expand tilde expansions in it. -if (( $argv[(I)-W*] )); then +if [[ ( -o magicequalsubst && "$IPREFIX" = *\= ) || $argv[(I)-W*] -ne 0 ]]; then _files "$@" return fi