ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Two-part extensions


From: hut
Subject: Re: [Ranger-users] Two-part extensions
Date: Fri, 24 Jul 2015 11:19:16 +0200
User-agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12)

Try

path \.nii\.gz$ = MyApplication "$1"

The argument to "path" is a regular expression, so you have to escape
the dots with a backslash. Placing a "$" at the end means ".nii.gz"
should only occur at the end of the path.

regards,
hut

On Fri, Jul 24, 2015 at 09:39:28AM +0100, Arman Eshaghi wrote:
> Dear Al,
> 
> What would be the best way to define a two-part extension to be opened by a
> specific application. Here is what I have done in
> ~/.config/ranger/rifle.conf but I cannot get what I want
> 
> ext nii.gz                       = MyApplication "$1"
> 
> However, MyApplication will never launch with .nii.gz files. My question is
> where ext is defined, or how would you define a two-part extension here?
> 
> Thank you in advance for any help
> 
> All the best,
> Arman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]