Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Hahler 4aeb48a02e Fix use of local in while loop. (#66)
For some reason it did not fail on Travis when only pushing the test
first?!

Also adds punctuation to already-stashed msg.
2017-05-16 22:58:25 +02:00
Daniel Hahler e454d1af37 minor: sync lib/varstash 2017-04-26 21:51:26 +02:00
Daniel Hahler d09b85cc0a lib/varstash: simplify stash for Zsh 2017-04-26 21:51:11 +02:00
Daniel Hahler c018ad8e66 lib/varstash: fix handling of exported vars with Zsh 5.3+
Upstream PR: https://github.com/cxreg/smartcd/pull/51
2017-04-26 21:50:11 +02:00
Daniel Hahler 248bd5cc0d varstash: fix get_autostash_array_name for Zsh 4.3.17 (Travis) 2015-04-23 17:57:46 +02:00
Daniel Hahler e29074c329 varstash: remove lib functions, use zsh functions 2015-04-23 15:27:39 +02:00
Daniel Hahler c4e388980e varstash: add support for exported variables in subshells 2015-04-23 15:11:40 +02:00
Daniel Hahler 7d970a03f7 varstash: use '==' for consistency 2014-12-18 20:52:52 +01:00
Daniel Hahler be306b1178 varstash: fix pattern in stash 2014-12-18 20:36:54 +01:00
Daniel Hahler 07abe9cea8 varstash: remove all usages of =~ 2014-12-18 20:08:51 +01:00
Daniel Hahler f5077e320d varstash: no need to use regex, avoids 'failed to load module: zsh/regex' error 2014-12-18 19:45:19 +01:00
Daniel Hahler 0bcbeb5ae5 Adopt varstash from http://github.com/cxreg/smartcd
Decouple it from smartcd and consider it zsh-only.

This also adds required library functions from smartcd's
lib/core/arrays.
2014-11-24 20:13:18 +01:00
Daniel Hahler 54124e128b Add varstash from smartcd
Source: 4fef3d3610/lib/core/varstash
2014-11-24 20:13:18 +01:00