diff options
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make index abfac58a1..28dc25f74 100644 --- a/Completion/Unix/Command/_make +++ b/Completion/Unix/Command/_make @@ -22,6 +22,10 @@ expandVars() { close='' var=${(s::)var[1]} ;; + (\$*) + # avoid parsing second $ in $$ + tmp=${tmp#\$} + continue (*) continue ;; @@ -38,7 +42,7 @@ expandVars() { ;; esac else - print -- $ret + print -- ${ret//\$\$/\$} return fi done |