Comment

Comment by grandpa

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
parent grandpa 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton