Wrap ssh so that we use a TERM commonly known by servers
This commit is contained in:
parent
0ad479c124
commit
0a88804fc0
2 changed files with 19 additions and 6 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue