aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-05-20 16:59:15 +0100
committerYann Herklotz <git@yannherklotz.com>2019-05-20 16:59:15 +0100
commit773484e1761fe65c27832aa595468399cc9baa59 (patch)
treeef41d3957a68a8887c21e15fc4bae2f2207633f0 /zsh
parenta1068a3a27c09a87ad9da133ecdbeaf7e675fc21 (diff)
downloaddotfiles-773484e1761fe65c27832aa595468399cc9baa59.tar.gz
dotfiles-773484e1761fe65c27832aa595468399cc9baa59.zip
Add unique history to zsh
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/export.zsh2
-rw-r--r--zsh/.zshrc7
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}"
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bd9cbb1..5086bbe 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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