home/bash | fixing ssh issues

This commit is contained in:
Don Harper 2025-08-01 22:29:00 -05:00
parent 1e00f83210
commit c08b98f195
2 changed files with 1 additions and 1 deletions

View file

@ -1,4 +1,3 @@
. ~/.bash_ssh
#export TZ=America/Chicago
if [[ "$(tty)" = "/dev/tty1" ]]
then

View file

@ -88,6 +88,7 @@ then
if [ $EUID == 0 ];then HISTNAME=root;fi
HISTFILE="${HOME}/.bash_history.${HISTNAME}.${HOSTNAME_SHORT}.$(tty|cut -c10-)"
export HISTFILE
test -f "${HOME}/.bash_ssh" && source "${HOME}/.bash_ssh"
PAGER=less
LESS="-Rs"