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

Dieter Plaetinck dieter at plaetinck.be
Wed Dec 14 16:58:54 CET 2011


On Tue, 13 Dec 2011 19:02:00 +0100
Richard Hartmann <richih.mailinglist at gmail.com> wrote:

> On Tue, Dec 13, 2011 at 09:56, Bruce Schultz
> <bruce.schultz at gmail.com> wrote:
> 
> > XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
> 
> [ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
> Of course ;)
> 
> What I meant was "if you use $XDG_CONFIG_HOME outside of vcsh, make
> sure it exists"

Not sure what "outside of vcsh" means, but any app/script implementing xdg should not assume the var is set.
i.e. the user _never_ needs to set this var.

Dieter


More information about the vcs-home mailing list