From: Penny Leach Date: Tue, 1 May 2012 10:58:30 +0000 (+0200) Subject: added history locking setting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;p=dotfiles%2Fzsh.git added history locking setting --- diff --git a/.zsh.d/S03_prompt b/.zsh.d/S03_prompt index 472da54..cf3abe3 100644 --- a/.zsh.d/S03_prompt +++ b/.zsh.d/S03_prompt @@ -17,6 +17,8 @@ precmd() { [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_" } -[[ "${PS1:-}" = '%m%# ' ]] && PS1="%m:%(1v.%F{red}%1v%f:.)$PSEXTRA%~%# " +PS1="%m:%(1v.%F{red}%1v%f:.)%~%# " + +: ${RPS1:="#%(0?..%?,)%!"} # vim:ft=zsh diff --git a/.zshrc b/.zshrc index 4ff379d..bce703e 100644 --- a/.zshrc +++ b/.zshrc @@ -12,7 +12,7 @@ compinit HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 -setopt appendhistory extendedglob nomatch notify +setopt appendhistory extendedglob nomatch notify hist_fcntl_lock bindkey -e # End of lines configured by zsh-newuser-install