summaryrefslogtreecommitdiff
path: root/plugins/last-working-dir
AgeCommit message (Collapse)Author
2013-04-08"$PWD" = "PWD", >! doesn't work, echo is redundant. Fixed all.Bercio
2013-03-13Fix whitespaceRyan Winograd
That's what I get for using GitHub text editor and not checking tabs.
2013-03-13last-working-dir: Use >! to overwrite $cache_filerylwin
Use ">!" to overwrite $cache_file in case noclobber is set. When noclobber is set, zsh will not allow the use of ">" to overwrite the contents of a file. Instead, it displays a "file exists" error. By using ">!" instead, we tell zsh to overwrite the file without complaining.
2012-12-03plugin last-working-dir: create cache-directory if it doesn't existDenis Cornehl
2012-10-17Added last working directory pluginÖrjan Persson
Keeps track of the last changed directory. When a new shell is created, the last directory will be restored. Mimics how tabs works in many terminal emulators.