From f84bb2a25c2ee6a7d1b27294db88b7a059b70efd Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Fri, 22 Nov 2024 20:26:34 +0100 Subject: [PATCH] Add gch alias --- home/terminal/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/terminal/default.nix b/home/terminal/default.nix index be2b528..1417350 100644 --- a/home/terminal/default.nix +++ b/home/terminal/default.nix @@ -5,6 +5,7 @@ home.packages = with pkgs; [ black devenv + fzf gitleaks go gopls @@ -50,6 +51,7 @@ "cam" = "gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0"; "upd" = "sudo apt update"; "upg" = "sudo apt upgrade"; + "gch" = "git checkout “$(git branch --all | fzf | tr -d ‘[:space:]’)”"; }; };