Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a persistent directory stack in zsh' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a persistent directory stack in zsh
Authored by: rv8 on Aug 12, '05 04:34:23PM

This looks wonderful, except I can't get it to work.

I've got the fink zsh_4.2.5-20 and zsh-templates_0.9.2-1 packages installed on OS X 10.4.2. If I type "gdirs" in a terminal, I get:

% gdirs
Error: Pashua could not be found

Is there some setup work I need to do, or should It Just Work TM?

Note: "dirstack" works - thank you very much. I only learned of this today, and can already see how useful it will be. Your zsh-templates are like an onion to me, and I have only peeled off a few layers yet.

---
Kevin Horton

[ Reply to This | # ]

Create a persistent directory stack in zsh
Authored by: wgscott on Aug 12, '05 05:18:13PM

Sorry, Kevin.

For now, put the following line in the bottom of

~/.zshenv (not ~/.zshrc):

export GUIDIRS_PASHUA='no'

Now it will work as pictured on the web page.

Wataru and I were experimenting with a Pashua-based GUI rather than Applescript and evidently something is not right.

It is looking for

/Library/init/zsh/local-functions/etc/Pashua.app/Contents/MacOS/Pashua

but since you installed it with fink, it is in

/sw/share/zsh/templates/Library/init/zsh/local-functions/etc/Pashua.app/Contents/MacOS/Pashua

Thanks!

You caught a bug that I need to fix...



[ Reply to This | # ]
Fixed - thanks.
Authored by: rv8 on Aug 12, '05 05:23:50PM

That fixed it. Thanks.

---
Kevin Horton



[ Reply to This | # ]
Fixed - thanks.
Authored by: wgscott on Aug 12, '05 08:00:17PM

I've now fixed it for real in the next edition. Thanks, and sorry!



[ Reply to This | # ]