diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-05-20 19:00:22 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-05-20 19:00:22 +0530 |
| commit | 1399d843a7777e7159c97f18f21ec3bf3f976d64 (patch) | |
| tree | fc54aae85f70a61dbe46e6cb5f3d768cfc3b208e /config/zsh/zshrc | |
| parent | 7661eb5a323a552ada3f83e46c59bfa2753cf8e7 (diff) | |
| download | nixos-config-1399d843a7777e7159c97f18f21ec3bf3f976d64.tar.gz nixos-config-1399d843a7777e7159c97f18f21ec3bf3f976d64.zip | |
Zsh magic
Diffstat (limited to 'config/zsh/zshrc')
| -rw-r--r-- | config/zsh/zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 2182122..f82b493 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -9,12 +9,17 @@ export SAVEHIST=10000 setopt extended_history # record timestamp of command in HISTFILE setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE setopt hist_ignore_dups # ignore duplicated commands history list +setopt hist_save_no_dups +setopt hist_find_no_dups setopt hist_ignore_space # ignore commands that start with space setopt hist_verify # show command with history expansion to user before running it setopt share_history # share command history data export ZSH_CUSTOM_CONF_FILES="$HOME/.config/zsh"; +# FZF integration +eval "$(fzf --zsh)"; + for f in $ZSH_CUSTOM_CONF_FILES/*.zsh; do source $f; done; source $ZSH_CUSTOM_CONF_FILES/aliases.zsh; |
