Wrap ssh so that we use a TERM commonly known by servers

This commit is contained in:
Charlotte Van Petegem 2020-02-29 21:27:09 +01:00
parent 0ad479c124
commit 0a88804fc0
2 changed files with 19 additions and 6 deletions

View file

@ -45,6 +45,22 @@
home.packages = with pkgs; [
htop
inotify-tools
(
symlinkJoin {
name = "openssh";
paths = [
(
pkgs.writeScriptBin "ssh" ''
#!${zsh}/bin/zsh
export TERM=xterm-256color
${openssh}/bin/ssh $@
''
)
openssh
];
}
)
unzip
];
};