autojump icon indicating copy to clipboard operation
autojump copied to clipboard

Use PWD variable rather than calling pwd in cd hooks

Open LinuxMercedes opened this issue 7 years ago • 2 comments

This should significantly speed up the execution of the cd hooks; for stats, see https://github.com/euank/pazi/pull/51#issuecomment-361280817

LinuxMercedes avatar Jan 29 '18 15:01 LinuxMercedes

Thanks for your information, I've learned from your PR and improve my project.

suzaku avatar Dec 03 '20 08:12 suzaku

+1 Also, calling pwd with fish seems to output paths with ~ when inside $HOME, whereas $PWD has the ~ converted to its corresponding path

jtanguy avatar Mar 02 '22 10:03 jtanguy