zshrc: dirstack: skip for ZSH_SUBSHELL
authorDaniel Hahler <git@thequod.de>
Wed, 4 May 2016 21:37:16 +0000 (23:37 +0200)
committerFrank Terbeck <ft@grml.org>
Fri, 6 May 2016 10:16:17 +0000 (12:16 +0200)
commit9dbdd757856760d471d3ebc6aca10ef681dd319c
tree91a646ea63e786793dd24e7d0b9df9eaddfda962
parent7fffb762936ff3e3139e50b268a10362dc719018
zshrc: dirstack: skip for ZSH_SUBSHELL

Otherwise `(cd foo)` would add `foo` to the stack, which is probably not
what you would expect.
etc/zsh/zshrc