mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
enable zsh history
This commit is contained in:
parent
8bfac91b35
commit
13edd2b8e3
1 changed files with 7 additions and 2 deletions
|
@ -79,9 +79,14 @@ let
|
|||
|
||||
bindkey -e
|
||||
setopt autocd
|
||||
setopt inc_append_history
|
||||
setopt share_history
|
||||
|
||||
export PROMPT='%B%(?..%? )%b⇒ '
|
||||
export RPROMPT='%F{green}%~%f'
|
||||
HISTFILE=$HOME/.zhistory
|
||||
HISTSIZE=4096
|
||||
SAVEHIST=$HISTSIZE
|
||||
PROMPT='%B%(?..%? )%b⇒ '
|
||||
RPROMPT='%F{green}%~%f'
|
||||
|
||||
export PATH=/var/run/current-system/sw/bin:/var/run/current-system/sw/bin''${PATH:+:$PATH}
|
||||
export PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin''${PATH:+:$PATH}
|
||||
|
|
Loading…
Reference in a new issue