diff --git a/nix/home.nix b/nix/home.nix index d4d6e45..9c44f59 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -151,11 +151,18 @@ in fi ''; - shellAliases = { - ls = "${pkgs.exa}/bin/exa -1"; - ll = "${pkgs.exa}/bin/exa -l"; - lt = "${pkgs.exa}/bin/exa --tree"; - }; + shellAliases = + let + exa = "${pkgs.exa}/bin/exa"; + in { + # exa + ls = "${exa} -1"; + ll = "${exa} -l"; + lt = "${exa} --tree"; + # nvim + vi = "nvim"; + vim = "nvim"; + }; }; # enable git VCS