diff --git a/home.nix b/home.nix index ab1534f..18e0970 100644 --- a/home.nix +++ b/home.nix @@ -255,6 +255,7 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; }; enable = true; shellAbbrs = { e = "edit"; + nvim = "edit"; nxs = "nix search nixpkgs"; nxr = "nix run nixpkgs#"; nxh = "nix shell nixpkgs#"; @@ -287,9 +288,14 @@ cd $hm_before_commit ''; gacp = '' git diff -git add . -git commit -git push +set gacp_n n +if [ "$(read -P 'continue ? [Y/n] ')" != gacp_n ] + git add . + git commit + git push +else + echo "cancelled ." +end ''; ng = ''