From 709ac92b6dc37c5b35f863574edef4649bc70beb Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 15 Mar 2024 22:49:26 +0100 Subject: [PATCH] okay, ssh support corrected --- common/zsh.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/zsh.nix b/common/zsh.nix index e8afd20..34dcdcf 100644 --- a/common/zsh.nix +++ b/common/zsh.nix @@ -15,13 +15,15 @@ ll = "lsd -l"; lt = "lsd -l --tree"; # TODO find if i can make these use the 'current' flake - utest = lib.mkDefault "sudo nixos-rebuild test --flake $HOME/nixos#default"; - update = lib.mkDefault "sudo nixos-rebuild switch --flake $HOME/nixos#default"; + utest = "sudo nixos-rebuild test --flake $HOME/nixos#default"; + update = "sudo nixos-rebuild switch --flake $HOME/nixos#default"; }; initExtra = '' nrun() { NIXPKGS_ALLOW_UNFREE=1 nix run --impure "nixpkgs#$1" } + +[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh" ''; history = { path = "${config.xdg.dataHome}/zsh/history";