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

This way, on every distro, the default editor is detected and used. For me it 
works for Linux Mint and centOS.

Regards

-- 
http://fresh.flatassembler.net
http://asm32.info
John Found <[email protected]>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to