Browse Source

fixed makedots, added dupe remover in zshrc

Josh Bicking 8 years ago
parent
commit
ded7ea7f24
2 changed files with 4 additions and 1 deletions
  1. 1 1
      makedots.sh
  2. 3 0
      zshrc

+ 1 - 1
makedots.sh

@@ -1,7 +1,7 @@
 DIR=$(pwd)
 cd ~
 
-for i in {vimrc, vim, zshrc, zsh, bashrc}
+for i in vimrc vim zshrc zsh bashrc
 do
     if [ -f .$i ]
     then

+ 3 - 0
zshrc

@@ -81,6 +81,9 @@ fi
 # Instantly write history
 setopt -o sharehistory
 
+# Ignore duplicates in history
+setopt HIST_IGNORE_DUPS
+
 # zsh-syntax-highlighting (MUST BE AT THE BOTTOM OF THIS FILE)
 source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh