Xiao Fan
18effd77db
last-working-dir: disable chpwd_last_working_dir in subshells ( #6817 )
8 years ago
Marc Cornellà
c488ab15f3
last-working-dir: add README
10 years ago
Marc Cornellà
fb6738a7e1
last-working-dir: don't jump if not in $HOME
10 years ago
Marc Cornellà
8ea56633a4
last-working-dir: clean up source
10 years ago
xiao.fan
cddfc3b038
style fixes
11 years ago
xiao
084792b829
Don't clobber chpwd
11 years ago
Christian Hoener zu Siederdissen
83295ec9bc
last-working-dir working with spaces in dirnames
11 years ago
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
11 years ago
Stephen
ceb42ecdb6
Update /home/srj/.oh-my-zsh/cache references
11 years ago
Bercio
6b6208e141
>! doesn't work with no clobber, echo is redundant. Fixed all.
13 years ago
Bercio
58a6ed1eac
"$PWD" = "PWD", >! doesn't work, echo is redundant. Fixed all.
13 years ago
Ryan Winograd
4c8bba57ac
Fix whitespace
...
That's what I get for using GitHub text editor and not checking tabs.
13 years ago
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.
13 years ago
Denis Cornehl
98bd19a036
plugin last-working-dir: create cache-directory if it doesn't exist
13 years ago
Ö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.
14 years ago