What one line – in the rifle configuration file – could cause open(1) to be used for all types of file?
https://forums.pcbsd.org/thread-20080-post-111030.html#pid111030 under Miller columns in file system explorers/browsers.
PC-BSD Forums is, admittedly, not the best place for a question that overlaps with use, on OS X, of a command that first appeared in NextStep ;-) but this is – essentially – a plea for advice about a simple configuration for rifle.
My bookmarks about ranger include the following, one of which may include (or hint at) an answer but honestly, I'm half-lost. A pointer in the right direction might be all that's needed …
- Official user guide · hut/ranger Wiki
- Bloerg: Ranger File Manager (2012-10-17)
- Installing and Using Ranger, a Terminal File Manager, on a Ubuntu VPS | DigitalOcean (2013-07-12)
- Ranger: speedy file management (2013-08-12, modified 2015-03-22)
- Ubuntu Manpage: rifle - ranger's file opener
OS X context
In edge cases (such as mine), for some areas of file systems, the operating system may be more responsive with ranger than with Finder. I have yet to ascertain whether a preference for ranger will reduce the need to use com.apple.IconServices …
Presence of the file
In retrospect, after gaining an answer to this question, I realised that I had been overly cautious. In my history of commands –
gpes3e-gjp4:~ gjp22$ history | grep ranger\ --copy 158 ranger --copy-config=commands 169 ranger --copy-config=scope
– but not
I set aside
~/.config/ranger and then ran that command to gain the default configuration file. Then added the overriding line that's given in https://unix.stackexchange.com/a/223804/13260 below.
Still: the contents of the default file are foreign territory to me. With or without the lines and comments in that file, the 'one line' essence of this question would have arisen.