Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zdotdir
On 03/10/2014 04:32 PM, Bart Schaefer wrote:
> Just create symbolic links:
>
> cd $ZDOTDIR
> for dotfile in zshenv zshrc zprofile zlogin; ln -s $dotfile .$dotfile
>
> If for some reason you don't want to use symlinks, you can instead do
>
> cd $ZDOTDIR
> for dotfile in zshenv zshrc zprofile zlogin
> print "source \$ZDOTDIR/$dotfile" > .$dotfile
>
> but that will print errors about missing files if you don't create all
> four of the dot-less ones, which the symlink approach will not.
Not fancy, but will do ;)
Thanks, didn't think about this.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author