diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2006-04-04 20:23:33 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:07 +0100 |
commit | 79f21e0c29b45930706516d72fa273786153b11a (patch) | |
tree | d9ea398f0eb96da838490581b2071dff9ab4feb5 /.zshrc | |
parent | 92f57333031fc34dadcba3e9817168ac9173c739 (diff) |
Mises à jour diverses : sudo, keychain
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@223 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -5,21 +5,14 @@ if [ -d $ZDOTDIR ]; then do source $script local_script="${script:r}.`hostname -s`" - - if ( [ -f $local_script ] ) - then - source $local_script - fi + [ -f $local_script ] && source $local_script done fi if [ "`whoami`" = "root" ] then - if [ "`pwd`" = ~ ] - then - cd ~root - fi + [ "`pwd`" = ~ ] && cd ~root export HOME=~root + HISTFILE=$HISTFILE.root fi -#cd ~ |