summary refs log tree commit diff stats
path: root/user/settings/fish/functions
diff options
context:
space:
mode:
authorAlan Pearce2023-10-30 09:33:50 +0100
committerAlan Pearce2023-10-30 09:33:50 +0100
commitc597162b9f01b04e85ca603605926184508bcc0e (patch)
tree407d1506d3b9f1b807b9b62ce075761be71ead4d /user/settings/fish/functions
parenta71b847d1ace67cfae1e45cd5f1b734012758547 (diff)
downloadnixfiles-c597162b9f01b04e85ca603605926184508bcc0e.tar.lz
nixfiles-c597162b9f01b04e85ca603605926184508bcc0e.tar.zst
nixfiles-c597162b9f01b04e85ca603605926184508bcc0e.zip
fish: fix home-manager-rollback function
Diffstat (limited to 'user/settings/fish/functions')
-rw-r--r--user/settings/fish/functions/home-manager-rollback.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/fish/functions/home-manager-rollback.fish b/user/settings/fish/functions/home-manager-rollback.fish
index c3b585b0..ada446c3 100644
--- a/user/settings/fish/functions/home-manager-rollback.fish
+++ b/user/settings/fish/functions/home-manager-rollback.fish
@@ -1,3 +1,3 @@
 function home-manager-rollback
-    (nix-shell -p home-manager --run 'home-manager --generations' | head -n2 | tail -n1 | field 7)/activate
+    (home-manager generations | head -n2 | tail -n1 | field 7)/activate
 end