diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-05-20 16:59:15 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-05-20 16:59:15 +0100 |
commit | 773484e1761fe65c27832aa595468399cc9baa59 (patch) | |
tree | ef41d3957a68a8887c21e15fc4bae2f2207633f0 /zsh | |
parent | a1068a3a27c09a87ad9da133ecdbeaf7e675fc21 (diff) | |
download | dotfiles-773484e1761fe65c27832aa595468399cc9baa59.tar.gz dotfiles-773484e1761fe65c27832aa595468399cc9baa59.zip |
Add unique history to zsh
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zsh/export.zsh | 2 | ||||
-rw-r--r-- | zsh/.zshrc | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 0430a62..b66fe00 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -5,8 +5,8 @@ export VISUAL='emacsclient -c' export TERM='xterm-256color' export PATH="${HOME}/.gem/ruby/2.6.0/bin:/usr/local/bin:${PATH}" -export PATH="${HOME}/.local/bin:${PATH}" export PATH="/usr/bin:${PATH}" export PATH="${HOME}/.yarn/bin:${PATH}" export PATH="${PATH}:/opt/Xilinx/Vivado/2018.3/bin" export PATH="${PATH}:/opt/intelFPGA_lite/18.1/quartus/bin" +export PATH="${HOME}/.local/bin:${PATH}" @@ -2,7 +2,6 @@ HISTFILE=~/.histfile HISTSIZE=100000 SAVEHIST=1000000 -setopt appendhistory notify bindkey -e # End of lines configured by zsh-newuser-install # The following lines were added by compinstall @@ -18,6 +17,12 @@ autoload -Uz compinit compinit # End of lines added by compinstall +setopt APPEND_HISTORY +setopt HIST_EXPIRE_DUPS_FIRST +setopt HIST_IGNORE_DUPS +setopt HIST_IGNORE_SPACE +setopt HIST_FIND_NO_DUPS + (cat ~/.cache/wal/sequences &) # Sourcing everything |