mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2026-04-20 14:34:21 +02:00
reserve rbsh and auto tmux session for WSL
This commit is contained in:
21
.termrc
21
.termrc
@@ -85,20 +85,19 @@ if [ -n "$WSLENV" ] ; then
|
|||||||
echo "Serial logs will be written to $SERIAL_LOGS"
|
echo "Serial logs will be written to $SERIAL_LOGS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# Automatically creates and attach a 'main' tmux session. If already created,
|
# Automatically creates and attach a 'main' tmux session. If already created,
|
||||||
# attach in a new window instead. If running from tmux, does nothing.
|
# attach in a new window instead. If running from tmux, does nothing.
|
||||||
if [ -z "$TMUX" ] ; then
|
if [ -z "$TMUX" ] ; then
|
||||||
#if [ tmux ls -F "#S" | grep $HRNX_TMUX_SESSIONNAME ] ; then
|
#if [ tmux ls -F "#S" | grep $HRNX_TMUX_SESSIONNAME ] ; then
|
||||||
|
|
||||||
tmux new-session -A -s $HRNX_TMUX_SESSIONNAME
|
tmux new-session -A -s $HRNX_TMUX_SESSIONNAME
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Env for 'mgnt toolbox' (rbsh, rbcli, etc)
|
||||||
|
export RBIP="192.168.13.203"
|
||||||
|
export RBLOG="administrator"
|
||||||
|
export RBPASS="administrator"
|
||||||
|
export RBROOTPASS="ekitool"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Env for 'mgnt toolbox' (rbsh, rbcli, etc)
|
|
||||||
export RBIP="192.168.13.203"
|
|
||||||
export RBLOG="administrator"
|
|
||||||
export RBPASS="administrator"
|
|
||||||
export RBROOTPASS="ekitool"
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user