Re: [code] [textadept] Add XDG Base Directory support

From: Mitchell <m.att.foicica.com>
Date: Thu, 28 Mar 2013 22:52:47 -0400 (EDT)

Hi,

On Thu, 28 Mar 2013, suharik wrote:

> Move config files from ~/.textadept to $XDG_CONFIG_HOME/textadept (default
> ~/.config/textadept if the variable is not set). So, user could easy
> set/backup config directory, and $HOME dir stays clean.
>
> A new behaviour could be chosen by build option.

It doesn't need to be a build option. You can call/alias:

   textadept -u $XDG_CONFIG_HOME/textadept

Having _USERHOME as ~/.textadept on all platforms makes things simpler so
a default change to $XDG_CONFIG_HOME on Linux is unlikely.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 28 Mar 2013 - 22:52:47 EDT

This archive was generated by hypermail 2.2.0 : Fri 29 Mar 2013 - 06:51:46 EDT