Alessandro Elio Cantini
8df5c1b18b
fix(last-working-dir): use explicit return 0 in early-exit guards ( #13623 )
3 months ago
Marc Cornellà
68d189cb35
fix(last-working-dir): save working directory more strictly ( #11343 )
...
Fixes #11343
2 years ago
Richard Mitchell
fe83581a20
fix(last-working-dir): use builtin `pwd` ( #11346 )
4 years ago
wilkis
869eb20913
feat(last-working-dir): log separate `lwd`s for different SSH keys on the same user account ( #9534 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Marc Cornellà
610b2529d2
Clean up plugin READMEs and a few plugins
...
- fasd
- history
- mercurial
- pylint
- repo
- yii2
6 years ago
Jacob Tomaw
1ba0af650a
Use safer append to hook function arrays ( #8406 )
...
Use add-zsh-hook to add functions to hooks. That way they won't be added again
when doing `source ~/.zshrc` multiple times.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
7 years ago
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
12 years ago
Stephen
ceb42ecdb6
Update /home/srj/.oh-my-zsh/cache references
12 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
14 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