about summary refs log tree commit diff stats
path: root/nix-conf/home
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-23 16:45:51 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-23 16:45:51 +0000
commitb5415cfde7607c69abbcb62c5be3caa862b834c6 (patch)
tree5f33a5710824d7beb1c8097c816fb5db88b689ca /nix-conf/home
parentc2cc986a0222abdc191baef935c6fd97578f2d14 (diff)
downloaddotfiles-b5415cfde7607c69abbcb62c5be3caa862b834c6.tar.gz
Add alternative update aliases without git
Diffstat (limited to 'nix-conf/home')
-rw-r--r--nix-conf/home/includes/zsh.nix2
1 files changed, 2 insertions, 0 deletions
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 {}'";