3 ms·
Protip: If you use bash or zsh, you can source the ranger executable for this behavior (so the full command would be ". ranger"). If you're on fish, there is a
by vifon 7y ago
Protip: If you use bash or zsh, you can source the ranger executable for this behavior (so the full command would be ". ranger"). If you're on fish, there is a patch pending for review, that soon will be available on master.
- apetresc 7y agoThank you so much!
- j88439h84 7y agoI don't observe a difference between `ranger` and `. ranger` in zsh. What am I supposed to notice?
- grandpa 7y agoWith `. ranger`, if you change directory and then exit, the shell's working directory changes to where you left off in Ranger. $ pwd /home/grandpa $ ranger [ ... change directory ... ] $ pwd /home/grandpa vs $ . ranger [ ... change directory ... ] $ pwd /home/grandpa/src
- j88439h84 7y agoGot it. Thanks.