From 0bad0693609b6fe4df67fbde758cdef8e9a69ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 30 Jun 2019 18:20:01 +0100 Subject: [PATCH] Fix the duplicates in history search --- nixos/home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/home.nix b/nixos/home.nix index 4688bd65..d6012073 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -34,6 +34,7 @@ SPACESHIP_EXIT_CODE_SHOW=true SPACESHIP_VI_MODE_SHOW=false SPACESHIP_BATTERY_THRESHOLD=30 + setopt HIST_IGNORE_ALL_DUPS ''; sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; ZSH_TMUX_AUTOSTART=true; }; shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; };