make hme git pull first
This commit is contained in:
parent
db25ca5a6e
commit
72407f2b9e
5
home.nix
5
home.nix
|
@ -257,7 +257,6 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; };
|
|||
nxr = "nix run nixpkgs#";
|
||||
nxh = "nix shell nixpkgs#";
|
||||
nxc = "sudo nix-collect-garbage -d";
|
||||
hme = "edit ~/.config/home-manager/home.nix";
|
||||
};
|
||||
shellAliases = {
|
||||
nxu = ''sudo sh -c "nixos-rebuild boot --upgrade --log-format internal-json -v |& nom --json"'';
|
||||
|
@ -270,6 +269,10 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; };
|
|||
pf = "sudo ping -f -c 100 -A 1.1.1.1";
|
||||
};
|
||||
functions = {
|
||||
hme = ''
|
||||
git pull
|
||||
edit ~/.config/home-manager/home.nix";
|
||||
'';
|
||||
hmu = ''
|
||||
set -l hm_before_commit $PWD
|
||||
cd ~/.config/home-manager/
|
||||
|
|
Loading…
Reference in New Issue