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";