TheJare / jm

A simple, cross-platform terminal-based file manager written in Go
Apache License 2.0
4 stars 1 forks source link

Automatically select correct file if path ends with one #1

Open sandebert opened 6 years ago

sandebert commented 6 years ago

If I start jm with a path that points to a file, perhaps the behaviour could be to show the dir, with the file selected?

Meaning if I do this: jm /etc/hosts

I would start jm in the /etc directory, with the hosts file selected.