From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8264 invoked by alias); 10 Mar 2014 15:32:48 -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: 18578 Received: (qmail 10371 invoked from network); 10 Mar 2014 15:32:42 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140310083224.ZM10646@torch.brasslantern.com> Date: Mon, 10 Mar 2014 08:32:24 -0700 In-reply-to: Comments: In reply to "Yuri D'Elia" "zdotdir" (Mar 10, 12:51pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: zdotdir MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Mar 10, 12:51pm, Yuri D'Elia wrote: } } However, I would like then the files not to have a leading dot, so I } could just have } } ~/.zsh/zprofile like in /etc/. } } Is it possible? 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.