diff options
author | Alan Pearce | 2023-05-25 09:25:55 +0200 |
---|---|---|
committer | Alan Pearce | 2023-05-25 09:25:55 +0200 |
commit | aadd44d9b1e74002a21e00f691c5a9a196c9cb51 (patch) | |
tree | df9258881bb46d1bf62d616de0ea11a7fbbb5ddb /user/settings | |
parent | 23f3032ad6ce214a41b7aee162ceadd6230f7f72 (diff) | |
download | nixfiles-aadd44d9b1e74002a21e00f691c5a9a196c9cb51.tar.lz nixfiles-aadd44d9b1e74002a21e00f691c5a9a196c9cb51.tar.zst nixfiles-aadd44d9b1e74002a21e00f691c5a9a196c9cb51.zip |
zsh: add a crude home-manager rollback alias
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 85ddcc3b..4ae24110 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -181,6 +181,7 @@ in ho = "home-manager"; hob = "home-manager build"; hos = "home-manager switch"; + hor = "$(nix-shell -p home-manager --run 'home-manager generations' | head -n 2 | tail -n 1 | f 7)/activate"; hon = "home-manager news"; hoh = "home-manager help"; hop = "home-manager packages"; |