From fcef7496e37018adc17ba7d6e567be551080677d Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 5 Aug 2023 10:55:31 +0530 Subject: [PATCH] fixup zshrc --- home/programs/zsh.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/home/programs/zsh.nix b/home/programs/zsh.nix index 752de88..89ceacb 100644 --- a/home/programs/zsh.nix +++ b/home/programs/zsh.nix @@ -26,15 +26,12 @@ '' else ""; shellAliases = { - cat = "bat"; + cat = "${pkgs.bat}/bin/bat"; cp = "cp -v"; grep = "grep --color=auto"; ln = "ln -v"; mv = "mv -v"; - rebuild_system = - if pkgs.stdenv.isLinux - then "sudo nixos-rebuild --flake /persist/home/.nixos-config#Skipper --cores 0" - else "home-manager --flake /Users/adtya/Projects/nixos-config#adtya@Alex --cores 0"; + rebuild_system = "sudo nixos-rebuild --flake /persist/home/.nixos-config#Skipper --cores 0"; }; }; }