Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last-working-dir not working for me on OSX 10.10? #4465

Closed
dtamayo opened this issue Oct 6, 2015 · 1 comment
Closed

last-working-dir not working for me on OSX 10.10? #4465

dtamayo opened this issue Oct 6, 2015 · 1 comment

Comments

@dtamayo
Copy link

dtamayo commented Oct 6, 2015

I'm running OSX 10.10 (Yosemite), zsh 5.0.5 and have updated to the latest oh my zsh. I just switched over to zsh, and while other plugins seem to work out of the box (git, common-aliases, osx), last-working-dir doesn't start new shells in the last directory.

I checked that ~/.oh-my-zsh/cache exists, but nothing ever gets written to the directory. I don't see how this would collide, but I used to have

#Recover and save workingdir
cd "$(<~/.lastdirectory)"
export PROMPT_COMMAND='printf %s "$PWD" > ~/.lastdirectory'

in my .profile (it's still there, but I checked it's not being run when a new shell starts). Thanks for any help.

@dtamayo
Copy link
Author

dtamayo commented Oct 6, 2015

I'm embarrassed to say the issue was that I separated my plugins in .zshrc with commas rather than spaces. Everything works. Sorry for the spam!

@dtamayo dtamayo closed this as completed Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant