about summary refs log tree commit diff
path: root/StartupFiles
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-11 19:18:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-11 19:18:34 +0000
commitf7f66ea11faf8fd9b419460dc11947c792e02331 (patch)
tree69b995f4ad2160d0ca8f45b5709147b3f8dcd8f1 /StartupFiles
parentffabab4e74ae5b7e61550c528b8d19f6af6217e3 (diff)
downloadzsh-f7f66ea11faf8fd9b419460dc11947c792e02331.tar.gz
zsh-f7f66ea11faf8fd9b419460dc11947c792e02331.tar.xz
zsh-f7f66ea11faf8fd9b419460dc11947c792e02331.zip
Phil Pennock: 25275: use restrictive permissions on cache files
put zstat in example zshrc
Diffstat (limited to 'StartupFiles')
-rw-r--r--StartupFiles/zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/StartupFiles/zshrc b/StartupFiles/zshrc
index 2685c23dd..1172b7b65 100644
--- a/StartupFiles/zshrc
+++ b/StartupFiles/zshrc
@@ -95,10 +95,11 @@ setopt   autopushd pushdminus extendedglob rcquotes mailwarning
 unsetopt bgnice autoparamslash
 
 # Autoload zsh modules when they are referenced
-zmodload -a zsh/stat stat
 zmodload -a zsh/zpty zpty
 zmodload -a zsh/zprof zprof
 zmodload -ap zsh/mapfile mapfile
+# stat(1) is now commonly an external command, so just load zstat
+zmodload -aF zsh/stat b:zstat
 
 # Some nice key bindings
 #bindkey '^X^Z' universal-argument ' ' magic-space