diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..3c70d7d --- /dev/null +++ b/Justfile @@ -0,0 +1,15 @@ +alias t := test +test: + git aa && nix run . + +alias to := testone +testone: + git aa && nix run . -- flake.nix + +alias tt := testtwo +testtwo: + git aa && nix run . -- flake.nix .stylua.toml + +alias s := search +search this: + nh search {{this}} diff --git a/flake.nix b/flake.nix index 5fdaf19..c9d5e14 100644 --- a/flake.nix +++ b/flake.nix @@ -51,16 +51,15 @@ shell = pkgs.mkShell { name = "nvim-devShell"; buildInputs = with pkgs; [ - # Tools for Lua and Nix development, useful for editing files in this repo - lua-language-server - nixd - alejandra - stylua - luajitPackages.luacheck + fish + just ]; shellHook = '' # symlink the .luarc.json generated in the overlay ln -fs ${pkgs.nvim-luarc-json} .luarc.json + + # use fish + exec fish ''; }; in {