From b5415cfde7607c69abbcb62c5be3caa862b834c6 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 23 Nov 2022 16:45:51 +0000 Subject: Add alternative update aliases without git --- nix-conf/home/includes/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nix-conf/home') diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index 9dd4aa9..d9efc03 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -57,7 +57,9 @@ diff_emacs = "difft --color always --context 0 $(ls -d1v ~/straight-versions-default-*.el | tail -1) ~/.emacs.d/straight/versions/default.el | grep '\\[9[12]' | egrep -v '(gnu-elpa-mirror|nongnu-elpa|melpa|emacsmirror-mirror)'"; nix-up = "git -C ~/dotfiles pull && doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report && df -h && date"; + _nix-up = "doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report && df -h && date"; home-up = "git -C ~/dotfiles pull && nix-channel --update && home-manager switch && hm-changes-report"; + _home-up = "nix-channel --update && home-manager switch && hm-changes-report"; fb = "fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'"; -- cgit 1.4.1-2-gfad0