On Tue, May 12, 2015 at 8:35 PM, John Found <[email protected]> wrote:

> Maybe this trick will be useful for someone.
>
> Using the same repository from several Linux distributions, I set the
> editor following way:
>
>     editor=$(xdg-mime query default text/plain | sed 's/\..*//') && $editor
>

fyi: the && is extraneous:

editor=$(xdg-mime query default text/plain | sed 's/\..*//') $editor


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to