Skip to content

Instantly share code, notes, and snippets.

@jamespo
Created Apr 24, 2022
Embed
What would you like to do?
Shell function & alias to stop foot terminal confusing ssh
footssh()
{
if [[ $TERM = "foot" ]]; then
TERM=linux ssh $@
else
ssh $@
fi
}
alias ssh=footssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment