]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
varstash: use '==' for consistency
authorDaniel Hahler <git@thequod.de>
Thu, 18 Dec 2014 19:52:52 +0000 (20:52 +0100)
committerDaniel Hahler <git@thequod.de>
Thu, 18 Dec 2014 19:52:52 +0000 (20:52 +0100)
lib/varstash

index eae62b37836248dba62678578af18b474906b805..17bcd62e70b1c040ba4970f864b825f6230c759a 100644 (file)
@@ -231,7 +231,7 @@ function stash() {
 function autostash() {
     local run_from_autostash=1
     while [[ -n $1 ]]; do
-        if [[ $1 == "alias" && $2 = *=* ]]; then
+        if [[ $1 == "alias" && $2 == *=* ]]; then
             shift
             local _stashing_alias_assign=1
         fi