]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Ignore some commands for history
authorSergey Matveev <stargrave@stargrave.org>
Mon, 11 May 2020 10:00:48 +0000 (13:00 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 11 May 2020 10:00:48 +0000 (13:00 +0300)
zsh/.zshrc

index c6f7881684495a99ecdc4c011b1cb50e2e43b91e..b4144e8bd4a5c7fb5ff84afd46f4225977518bf6 100644 (file)
@@ -35,6 +35,8 @@ zle -N history-beginning-search-forward-end history-search-end
 bindkey "^[[A" history-beginning-search-backward-end
 bindkey "^[[B" history-beginning-search-forward-end
 bindkey "^R" history-incremental-pattern-search-backward
+
+HISTORY_IGNORE="(ytdl* *|t *|t)"
 # }}}
 
 # Prompt {{{