From d60564519cb4fab19dbf270dd7696052990fcfe1 Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 18 Mar 2022 13:58:56 -0400 Subject: .bash_profile: Fix history with real persist Use custom fzf completion and bindings. --- .bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 7f0bc8c..d295098 100644 --- a/.bash_profile +++ b/.bash_profile @@ -51,6 +51,8 @@ export GOPATH="$XDG_DATA_HOME/go" export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" export GTK_OVERLAY_SCROLLING=0 export HISTCONTROL=ignoreboth:erasedups +export HISTFILE="$XDG_CACHE_HOME/bash.history" +export HISTFILEPERSIST="$XDG_DATA_HOME/bash/history" export HISTFILESIZE=-1 export HISTSIZE=-1 export HISTTIMEFORMAT="%d/%m/%y %T " @@ -62,7 +64,7 @@ export MANPAGER="vim -M +MANPAGER -" export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npmrc" export PASSWORD_STORE_DIR="$XDG_CONFIG_HOME/pass" -export PROMPT_COMMAND='cd .; history -a; history -n' +export PROMPT_COMMAND='cd .; history -a; history -n; (bashhistory &)' export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc" export RECOLL_CONFDIR="$XDG_CONFIG_HOME/recoll" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" -- cgit v1.2.3