Hacker News new | ask | show | jobs
by grandpa 2388 days ago
With `. 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
1 comments

Got it. Thanks.