Skip to content
Snippets Groups Projects
Commit b5417798 authored by Jens Nolte's avatar Jens Nolte
Browse files

zsh: Fix history options

parent 2da5d30f
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,13 @@ in
# FIXME: set the less input preprocessor
#export LESSOPEN="| ${pkgs.lesspipe}/bin/lesspipe.sh %s 2>&-"
programs.zsh.setOptions = [
"hist_ignore_all_dups"
"inc_append_history"
"hist_fcntl_lock"
"extended_glob"
];
programs.zsh.interactiveShellInit = ''
fpath+=$LOCAL_ZSH_COMPLETION_PATH
......@@ -125,11 +132,7 @@ in
HISTSIZE=100000
SAVEHIST=100000
setopt appendhistory histignorealldups
setopt extendedglob
unsetopt flowcontrol
unsetopt flow_control
# Set up fzf for ctrl-t (paste selected paths) and alt-c (cd into selected directory)
# This also binds ctrl-r, but that binding is reverted later
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment