diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-04-15 17:40:05 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-04-15 17:40:05 +0100 |
| commit | ff7690c57c3fa0d03cc9948ecb4da8e218efcfa6 (patch) | |
| tree | 4f66fa25c688ba7f960a34b93cccf94aadd4c66d /.kshrc | |
| parent | 5e07da3e2020a6373693d6dde008bd24a7613b0c (diff) | |
Added alias to stop foot terminal confusing ssh
Diffstat (limited to '.kshrc')
| -rw-r--r-- | .kshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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() { |
