[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pas d'historique de zsh en root



Bonjour

Voici mon .zshrc
Pourquoi est-ce que je n'ai pas d'historique en root ?
Je m'inspire du .zshrc de mon login utilisateur qui lui fonctionne...
Merci d'avance



--
Benoît
---

# Use emacs keybindings even if our EDITOR is set to vi
bindkey -e

bindkey '^u' backward-kill-line

HISTSIZE=1000
SAVEHIST=1048576
HISTFILE=~/.sh_history


# Use modern completion system
autoload -Uz compinit
compinit

zstyle ':completion:*' auto-description 'specify: %d'

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors ~/.dircolors)" || eval "$(dircolors)"
    alias ls='ls -v --color=auto'
    alias diff='diff --color=auto'
    alias grep='grep --color=auto'
fi

PROMPT='%F{blue}%T%f %F{red}%n%f@%F{magenta}%m%f:%F{blue}%B%2~%b%f%# '


Envoyé avec la messagerie sécurisée Proton Mail.

Reply to: