Some SSH stuff
This commit is contained in:
parent
2ce896491b
commit
534e246cec
3 changed files with 9 additions and 21 deletions
|
@ -58,15 +58,4 @@ then
|
|||
|
||||
fi
|
||||
|
||||
# To keep until https://github.com/openssh/openssh-portable/commit/f64f8c00d158acc1359b8a096835849b23aa2e86
|
||||
# is merged
|
||||
function _ssh {
|
||||
if [ "${TERM}" = "alacritty" ]
|
||||
then
|
||||
TERM=xterm-256color ssh "$@"
|
||||
else
|
||||
ssh "$@"
|
||||
fi
|
||||
}
|
||||
alias ssh='_ssh'
|
||||
_ssh -t "$@" "$(cat "${CACHE_DIR}/cmd")"
|
||||
ssh -t "$@" "$(cat "${CACHE_DIR}/cmd")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue