fish: set TERM when running ssh
This commit is contained in:
parent
c70164709e
commit
030853eef1
1 changed files with 8 additions and 0 deletions
|
|
@ -43,6 +43,14 @@ in
|
|||
echo "Exported key $export[1]"
|
||||
end
|
||||
end
|
||||
|
||||
function ssh
|
||||
if test "$TERM" = "alacritty"
|
||||
env TERM=xterm-256color ssh $argv
|
||||
else
|
||||
env ssh $argv
|
||||
end
|
||||
end
|
||||
'';
|
||||
shellAliases = {
|
||||
rm = "trash";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue