about summary refs log tree commit diff stats
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
parentc2cc986a0222abdc191baef935c6fd97578f2d14 (diff)
downloaddotfiles-b5415cfde7607c69abbcb62c5be3caa862b834c6.tar.gz
Add alternative update aliases without git
-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 {}'";
 
a> 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214