commit 086995a26340394a030ddbe259f165df87d74662
parent 798943739c3d32436ac98071bbef6f091256244f
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Mon, 2 Mar 2020 21:02:15 -0800
made global history VARIABLE '.hist-mksh'
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/mksh/.mkshrc b/mksh/.mkshrc
@@ -5,9 +5,10 @@ source ~/.profile
source ~/.aliases
# history
-export HISTFILE="$HOME/.mksh-hist"
+#export HISTFILE="$HOME/.mksh-hist"
export HISTSIZE='820000'
+
# bindings
bind '^L=clear-screen'
diff --git a/profile/.profile b/profile/.profile
@@ -9,6 +9,7 @@ export COMPOSITOR='xcompmgr'
export PAGER='less'
export LOCKER='slock'
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
+export HISTFILE="$HOME/.hist-$0"
# variables for my scripts
export WALLPAPERS="$HOME/image/wallpapers"
diff --git a/zsh/.zshrc b/zsh/.zshrc
@@ -80,7 +80,7 @@ fi
# history
HISTCONTROL='erasedups'
-HISTFILE="$HOME/.history-zsh"
+#HISTFILE="$HOME/.history-zsh"
HISTSIZE=1500000
SAVEHIST=1500000