FG

Resume Zsh-Terminal (OS X Lion)

Fresh3 days ago
Mar 15, 20268624 views
Confidence Score0%
0%

Problem

OS X Lion has "Resume" feature, i. e. when you reopen an app it restores all windows and their contents. That works for Terminal as well. But if you use Zsh instead of Bash it doesn't restore opened directory. How can I fix this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Resume Zsh-Terminal (OS X Lion)

Low Risk

Here's my adaptation of /etc/bashrc for zsh. I've included percent-encoding of all URL characters that require it, which is important if you want this to work with all valid file and directory names. This registers a hook, which allows more than one…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment