mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2026-10-16 05:48:22 +03:00
varstash: no need to use regex, avoids 'failed to load module: zsh/regex' error
This commit is contained in:
1 parent
d136fd8731
commit
f5077e320d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user