|
|
|
|
|
by bkase
4504 days ago
|
|
I like to take advantage of temporal locality. My zshrc is configured to take me to the most recent place that I have been whenever I open a new shell: autoload -U add-zsh-hook
record_pwd() { pwd > ~/.cwd }
add-zsh-hook chpwd record_pwd
touch ~/.cwd
cd `cat ~/.cwd`
|
|