How to migrate from madduck’s vcsh to RichiH’s vcsh

Bruce Schultz bruce.schultz at gmail.com
Tue Dec 13 09:56:46 CET 2011



On 13/12/11 07:19, Richard Hartmann wrote:
> On Mon, Dec 12, 2011 at 18:02, Sean Whitton <sean at silentflame.com> wrote:
>
>> 3) Set up $XDG_CONFIG_HOME/mr/available.d/ with configs for each of your
>>   fgits repos, following the templates in the new vcsh docs.  Make sure
>>   you have one for each chunk of your old ~/.mrconfig.
> Make sure $XDG_CONFIG_HOME is set. If it's not, set it to $HOME/.config

You should probably use $HOME/.config by default if $XDG_CONFIG_HOME is not
set. I would usually add a line like this somewhere at the top of a script, to
be sure it is set to something:

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}




More information about the vcs-home mailing list