home/bash | fixing ssh issues
This commit is contained in:
parent
1e00f83210
commit
c08b98f195
2 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
. ~/.bash_ssh
|
|
||||||
#export TZ=America/Chicago
|
#export TZ=America/Chicago
|
||||||
if [[ "$(tty)" = "/dev/tty1" ]]
|
if [[ "$(tty)" = "/dev/tty1" ]]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ then
|
||||||
if [ $EUID == 0 ];then HISTNAME=root;fi
|
if [ $EUID == 0 ];then HISTNAME=root;fi
|
||||||
HISTFILE="${HOME}/.bash_history.${HISTNAME}.${HOSTNAME_SHORT}.$(tty|cut -c10-)"
|
HISTFILE="${HOME}/.bash_history.${HISTNAME}.${HOSTNAME_SHORT}.$(tty|cut -c10-)"
|
||||||
export HISTFILE
|
export HISTFILE
|
||||||
|
test -f "${HOME}/.bash_ssh" && source "${HOME}/.bash_ssh"
|
||||||
|
|
||||||
PAGER=less
|
PAGER=less
|
||||||
LESS="-Rs"
|
LESS="-Rs"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue