From 40bca78da208b4e925f6427d59e120851dff316a Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 6 Jul 2021 14:31:00 +0200 Subject: [PATCH] Use common history --- bash/history | 3 +++ zsh/history | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bash/history b/bash/history index 425f97f..b9a3b92 100644 --- a/bash/history +++ b/bash/history @@ -13,4 +13,7 @@ export HISTCONTROL=ignoreboth # more! export HISTSIZE=10000 +# file +export HISTFILE=~/.history + # vim: ft=bash diff --git a/zsh/history b/zsh/history index 6d15dec..5ac6c15 100644 --- a/zsh/history +++ b/zsh/history @@ -7,7 +7,7 @@ setopt hist_verify HISTSIZE=100000 SAVEHIST=100000 -HISTFILE=~/.zsh_history +HISTFILE=~/.history HISTORY_IGNORE="(^ +|ls|bg|fg|pwd|exit|cd ..)" # vim: ft=zsh