bash | removed last(?) call to .bash_ssh
This commit is contained in:
parent
3621c490db
commit
2e11398af9
2 changed files with 8 additions and 7 deletions
|
|
@ -18,38 +18,38 @@
|
|||
# REVISION: ---
|
||||
#===============================================================================
|
||||
|
||||
# Switched to use tailscale ssh, so removed call to ~/.bash_ssh
|
||||
function nssh ()
|
||||
{
|
||||
. ~/.bash_ssh
|
||||
ssh-keygen -R "${1}"
|
||||
ssh "${@}"
|
||||
}
|
||||
|
||||
function ss ()
|
||||
{
|
||||
tmux neww -n "${1}" ". ~/.bash_ssh ; ssh ${*}"
|
||||
tmux neww -n "${1}" "ssh ${*}"
|
||||
}
|
||||
|
||||
function mss ()
|
||||
{
|
||||
tmux neww -n "${1}" ". ~/.bash_ssh ; mosh ${*}"
|
||||
tmux neww -n "${1}" "mosh ${*}"
|
||||
}
|
||||
|
||||
function nss ()
|
||||
{
|
||||
ssh-keygen -R "${1}"
|
||||
tmux neww -n "${1}" ". ~/.bash_ssh ; ssh ${*}"
|
||||
tmux neww -n "${1}" "ssh ${*}"
|
||||
}
|
||||
|
||||
function pss ()
|
||||
{
|
||||
tmux split-window -h ". ~/.bash_ssh ; ssh ${*}"
|
||||
tmux split-window -h "ssh ${*}"
|
||||
}
|
||||
|
||||
function pnss ()
|
||||
{
|
||||
ssh-keygen -R "${1}"
|
||||
tmux split-window -h ". ~/.bash_ssh ; ssh ${*}"
|
||||
tmux split-window -h "ssh ${*}"
|
||||
}
|
||||
|
||||
function yay ()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
. ~/.bash_ssh
|
||||
# Switched to use tailscale ssh, so removed call to ~/.bash_ssh
|
||||
# . ~/.bash_ssh
|
||||
#export TZ=America/Chicago
|
||||
if [[ "$(tty)" = "/dev/tty1" ]]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue