diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2007-07-25 10:44:31 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:15 +0100 |
commit | 2060dad3e988021bbb5ea110b78c3caf89a0f0dd (patch) | |
tree | 907850733b6931e380a14192cde489e6b5dc1615 /.zshrc | |
parent | 5efc79402925115905b82e18fedf59d763f08a03 (diff) |
Comments up-to-date
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@506 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -12,12 +12,14 @@ # With that, file ``10_Toto.zsh'' would be parsed before # file ``20_Tutu.zsh'', allowing you ordering your scripts. # -# If you want to make host-specific configurations, create a -# file named with the root of your configuration file, and -# append to it ".$(hostname -s)". (replace "zsh" by the hostname. -# if you have a computer named "zsh", well....... :-) ) -# For example, for specific configuration for the host HAL in -# the file 10_Toto.zsh, you would create a file named 10_Toto.HAL +# If you want to make user, host or network specific configurations, +# add your specific scripts to the folders +# - "user:$(whoami)" for user-specific conf, +# - "host:$(hostname -s)" for host-specific conf, +# - "net:$(domainname)" for network-specific conf, +# rename your scripts to the form mentionned above, minus the "??_" +# prefix. An original script prefixed by a two-digits number SHOULD +# be present on the $ZDOTDIR folder, even if empty. # ZDOTDIR=${ZDOTDIR:-~/.zsh} @@ -54,6 +56,7 @@ if [ -d $ZDOTDIR ]; then done fi +# For sudo shells if [ "$USER" = "root" ] then [ "`pwd`" = ~ ] && cd ~root |