all repos — nixfiles @ c597162b9f01b04e85ca603605926184508bcc0e

System and user configuration, managed by nix and home-manager

fish: fix home-manager-rollback function

Alan Pearce
commit

c597162b9f01b04e85ca603605926184508bcc0e

parent

a71b847d1ace67cfae1e45cd5f1b734012758547

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M user/settings/fish/functions/home-manager-rollback.fishuser/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