From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4706 invoked by alias); 10 Mar 2014 17:31:22 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18579 Received: (qmail 21084 invoked from network); 10 Mar 2014 17:31:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_NUMERIC_HELO,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Yuri D'Elia Subject: Re: zdotdir Date: Mon, 10 Mar 2014 18:28:23 +0100 Message-ID: References: <140310083224.ZM10646@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.3.0 In-Reply-To: <140310083224.ZM10646@torch.brasslantern.com> 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.