diff --git a/home-manager/git.nix b/home-manager/git.nix index 47ea5fe..c2f8258 100644 --- a/home-manager/git.nix +++ b/home-manager/git.nix @@ -10,6 +10,7 @@ fpush = "push --force-with-lease"; resq = "rebase --autosquash -i"; pfush = "!echo \"hör uf ume z'pfusche und machs richtig\""; + sw = "!git checkout $(git branch --format \"%(refname:lstrip=2)\" | ${pkgs.lib.getExe pkgs.fzf})"; }; difftastic = { enable = true;