zshrc: Do not use bogus array index `0' in dirstack code [Closes: issue1055]
authorFrank Terbeck <ft@grml.org>
Tue, 27 Sep 2011 10:19:05 +0000 (12:19 +0200)
committerFrank Terbeck <ft@grml.org>
Tue, 27 Sep 2011 10:22:45 +0000 (12:22 +0200)
commitfb6dc41fca192a4c88330c11ead8f958e9c92de7
tree5bf02ae9466719346753a050b4ba8de29f933f30
parent43090cf38bb0b6dd9840a52ac4658eaa1e1c38e4
zshrc: Do not use bogus array index `0' in dirstack code [Closes: issue1055]

Instead, use `1' which is the correct way to address the first item of
an array in zsh (with the default settings and the ones we are using).

Reported-by: Daniel Hahler <grml@thequod.de>
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc