aboutsummaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.kshrc b/.kshrc
index acf43f9..8cfbc2c 100644
--- a/.kshrc
+++ b/.kshrc
@@ -39,6 +39,11 @@ alias config='/usr/local/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias pkg_add='doas pkg_add -Dsnap '
alias pkg_info='doas pkg_info -Dsnap '
+# Alias to stop foot terminal confusing ssh
+if [ "$TERM" = "foot" ]; then
+ alias ssh='TERM=linux ssh'
+fi
+
# Simple, lightweight git prompt for oksh: if inside a git repo, adds the
# branch name to PS1.
__get_current_git_branch_name() {