mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 07:20:59 +02:00
varstash: no need to use regex, avoids 'failed to load module: zsh/regex' error
This commit is contained in:
parent
d136fd8731
commit
f5077e320d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user