summaryrefslogtreecommitdiff
path: root/10_Environment.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-02-27 14:32:01 +0100
committerHugues Hiegel <hugues@hiegel.fr>2012-02-27 14:32:01 +0100
commit6ea99df94df859809d1c4313e779b06ac63aa1d2 (patch)
treea9f934f771754f9c43bbe0b813de402e8afd327f /10_Environment.zsh
parentf0413d746353cbb73e9fdbc027214986a7adc3f6 (diff)
[Env] histfile under ~
Diffstat (limited to '10_Environment.zsh')
-rw-r--r--10_Environment.zsh7
1 files changed, 1 insertions, 6 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh
index 05252e2..66774ce 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -75,12 +75,7 @@ typeset -gU PATH MANPATH INFOPATH PKG_CONFIG_PATH LD_LIBRARY_PATH
## Gestion de l'historique
# Voir le fichier d'Options pour plus de contrôle là-dessus
-if [ -w $ZDOTDIR ]
-then
- HISTFILE=$ZDOTDIR/.history.$USER.$HOST # Pour éviter les conflits de conf
-else
- HISTFILE=~$USER/.zsh.history.$HOST
-fi
+HISTFILE=~$USER/.zsh.history.$HOST
SAVEHIST=42000
HISTSIZE=$(( $SAVEHIST * 1.10 ))