* history bash suffix in tmux windows now based on session and window name, because the same tmux pane has different ids after add windows or sessions - it defies any logic
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user