From 510e3508cec16a2b0b1c94caad4476e4426ada50 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 8 May 2009 01:06:53 +0200 Subject: [PATCH] Support more zsh files in ~/.zsh/ --- .gitignore | 2 ++ zsh.d/04-grml-pre | 3 +++ zshrc | 2 ++ 3 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 35e85be..e47685e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ history +dirs +.zcompdump *~ diff --git a/zsh.d/04-grml-pre b/zsh.d/04-grml-pre index ed177e6..80f1d13 100644 --- a/zsh.d/04-grml-pre +++ b/zsh.d/04-grml-pre @@ -2,6 +2,9 @@ # Do not warn about old skel dot-files anymore GRML_WARN_SKEL=0 +# Put dir stack file in .zsh, too +DIRSTACKFILE=${HOME}/.zsh/dirs + if [ "domainname not found" != "`which domainname`" ]; then if [ `domainname` = "phys.ethz.ch" ]; then BATTERY=0 diff --git a/zshrc b/zshrc index 3d84dff..774e99a 100644 --- a/zshrc +++ b/zshrc @@ -2,6 +2,8 @@ # # With ideas from grml and Freak +ZDOTDIR=${HOME}/.zsh + setopt EXTENDED_GLOB CSH_NULL_GLOB if [ -d ~/.zsh/zsh.d ]; then for zshrc_snipplet in $(ls -1 ~/.zsh/zsh.d/[0-9][0-9]{,$(hostname -s)}-*[^~]) ; do -- 2.1.4