From c14815a2a2fb1f4f57eeefb3ec3798ffcf677ca3 Mon Sep 17 00:00:00 2001 From: CDaut Date: Fri, 19 Apr 2024 09:54:50 +0200 Subject: [PATCH] ssh alias for alacritty --- flake.lock | 6 +++--- programm_configs/zsh.nix | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 8f65bc2..69c8dc4 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1713453913, - "narHash": "sha256-vbXq52VRlL1defMHrwhsoeHm95O3mFefsSSJyNEghbA=", + "lastModified": 1713453970, + "narHash": "sha256-rvPC+vg5rXo9/FAkfW1aGdzxQDMhUQTlnu2YKmWef5s=", "owner": "nix-community", "repo": "home-manager", - "rev": "178e26895b3aef028a00a32fb7e7ed0fc660645c", + "rev": "7cebe921eaffd5f9880f0dab7a23789d15f6169b", "type": "github" }, "original": { diff --git a/programm_configs/zsh.nix b/programm_configs/zsh.nix index e0026cb..9f58f11 100644 --- a/programm_configs/zsh.nix +++ b/programm_configs/zsh.nix @@ -4,6 +4,11 @@ enable = true; enableCompletion = true; autosuggestion.enable = true; + # To make alacritty in ssh work + shellAliases = { + ssh = "TERM=xterm-256color $(which -p ssh)"; + }; + oh-my-zsh = { enable = true; plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv" ];