diff options
author | tdro <tdro@users.noreply.github.com> | 2022-03-18 13:58:56 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-03-18 14:05:43 -0400 |
commit | d60564519cb4fab19dbf270dd7696052990fcfe1 (patch) | |
tree | e5b71478284050f5ad3715d6561f2dba78f11902 /.bash_profile | |
parent | d8f916b6fe986a2974620d4386ec50de08f9d938 (diff) | |
download | dotfiles-d60564519cb4fab19dbf270dd7696052990fcfe1.tar.gz dotfiles-d60564519cb4fab19dbf270dd7696052990fcfe1.tar.bz2 dotfiles-d60564519cb4fab19dbf270dd7696052990fcfe1.zip |
.bash_profile: Fix history with real persist
Use custom fzf completion and bindings.
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 4 |
1 files changed, 3 insertions, 1 deletions
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" |