aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-09-04 19:15:14 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-09-04 19:15:14 +0100
commitaef193d76cf58066e0793f82074aa021c7aff9be (patch)
tree8c09b0a11403f17fb29bed516231c0ff2804616c
parentfb09f81dd46d4c4d7be9b75404b4e219d93e2844 (diff)
Added alias to stop foot terminal confusing ssh
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index dd310e0..fb8e9d9 100644
--- a/.bashrc
+++ b/.bashrc
@@ -54,6 +54,11 @@ esac
command -v bat > /dev/null && alias cat='bat --paging=never'
alias wanip='dig +short myip.opendns.com @resolver1.opendns.com'
+# alias to stop foot terminal confusing ssh
+if [[ $TERM = "foot" ]]; then
+ alias ssh='TERM=linux ssh'
+fi
+
export EDITOR="nvim"
export VISUAL="nvim"
export MANPATH=$HOME/.local/share/man/:$MANPATH