|
|
Merged saved stack
I came up with a solution that merges together the directory stacks of parallel sessions, writing the merged list on logout. If you regularly have multiple terminals open on the same machine, this ensures that all the directory history you accumulate is saved (and sensibly interleaved). Since there is no date-stamp for a proper history, I put at the end of the list any common "tail" less-recently visited directories.
Place this in ~/.zprofile (to load the saved dirstack):
And put this in ~/.zlogout (to merge and save the stack on logout):
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|