diff --git a/home/modules/console/shell/fish/default.nix b/home/modules/console/shell/fish/default.nix index ab75bb2..0ac3802 100644 --- a/home/modules/console/shell/fish/default.nix +++ b/home/modules/console/shell/fish/default.nix @@ -13,25 +13,10 @@ in programs.fish = mkIf cfg.enable { enable = true; shellAbbrs = rec { - jqless = "jq -C | less -r"; - - n = "nix"; - nd = "nix develop -c $SHELL"; - ns = "nix shell"; - nsn = "nix shell nixpkgs#"; - nb = "nix build"; - nbn = "nix build nixpkgs#"; - nf = "nix flake"; - - nr = "nixos-rebuild --flake ."; - nrs = "nixos-rebuild --flake . switch"; - snr = "sudo nixos-rebuild --flake ."; - snrs = "sudo nixos-rebuild --flake . switch"; - hm = "home-manager --flake ."; - hms = "home-manager --flake . switch"; fe = mkIf hasHelix "cd $FLAKE; hx $FLAKE"; f = "cd $FLAKE"; + s = "cd $SCRIPTS"; tree = mkIf hasEza "eza -T --icons --group-directories-first"; ls = mkIf hasEza "eza -a --icons --group-directories-first"; diff --git a/home/profile/base/default.nix b/home/profile/base/default.nix index 0463e97..34561b9 100644 --- a/home/profile/base/default.nix +++ b/home/profile/base/default.nix @@ -41,6 +41,7 @@ in sessionPath = [ "$HOME/.local/bin" ]; sessionVariables = { FLAKE = "$HOME/Coding/nix/ooks-io/nix"; + SCRIPTS = "$HOME/Coding/sh/scripts"; TZ = "Pacific/Auckland"; }; };