1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 09:43:38 +08:00
Commit Graph

5 Commits

Author SHA1 Message Date
Bercio
58a6ed1eac "$PWD" = "PWD", >! doesn't work, echo is redundant. Fixed all. 2013-04-08 18:45:45 +08:00
Ryan Winograd
4c8bba57ac Fix whitespace
That's what I get for using GitHub text editor and not checking tabs.
2013-03-13 22:51:14 -05:00
rylwin
1cfd813f79 last-working-dir: Use >! to overwrite $cache_file
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.
2013-03-13 22:48:28 -05:00
Denis Cornehl
98bd19a036 plugin last-working-dir: create cache-directory if it doesn't exist 2012-12-03 11:13:13 +01:00
Örjan Persson
91e5619a58 Added last working directory plugin
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.
2012-10-17 11:36:51 -07:00