Explorar o código

fixed makedots, added dupe remover in zshrc

Josh Bicking %!s(int64=8) %!d(string=hai) anos
pai
achega
ded7ea7f24
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  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