diff --git a/.shell-history b/.shell-history index 28b9845..6a434dc 100644 --- a/.shell-history +++ b/.shell-history @@ -8,7 +8,7 @@ fi # Each terminal's history will be stored in # its own file if [ ! -z "${TMUX_PANE}" ]; then - HISTSUFFIX="${TMUX_PANE}" + HISTSUFFIX=$(tmux display-message -p '#S#W' | sha256sum | cut -d' ' -f1) else HISTSUFFIX=`tty | sed 's/\///g;s/^dev//g'` fi