Commit Graph

12 Commits

Author SHA1 Message Date
Marc Cornellà
fb6738a7e1 last-working-dir: don't jump if not in $HOME 2016-09-30 20:11:17 +02:00
Marc Cornellà
8ea56633a4 last-working-dir: clean up source 2016-09-30 20:11:17 +02:00
xiao.fan
cddfc3b038 style fixes 2015-08-04 15:10:18 -07:00
xiao
084792b829 Don't clobber chpwd 2015-08-03 22:10:24 -07:00
Christian Hoener zu Siederdissen
83295ec9bc last-working-dir working with spaces in dirnames 2015-06-13 11:00:58 +02:00
Michael Robinson
8ccfc3d444 Removing 'local' usage to prevent issue when installed with antigen
Error encountered when installed with antigen: "chpwd:2: no such file or directory:".  Solution described in https://github.com/zsh-users/antigen/issues/75
2015-02-02 11:52:07 +13:00
Stephen
ceb42ecdb6 Update /home/srj/.oh-my-zsh/cache references 2015-01-08 16:38:05 +00:00
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