1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 15:30:59 +02:00

varstash: no need to use regex, avoids 'failed to load module: zsh/regex' error

This commit is contained in:
Daniel Hahler 2014-12-18 19:45:19 +01:00
parent d136fd8731
commit f5077e320d

View File

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