From 9f41de6c75dfec0ad395cc72d626e43a67cfe130 Mon Sep 17 00:00:00 2001 From: sadanslargehole Date: Tue, 14 May 2024 14:48:38 -0400 Subject: [PATCH] 125 current 2024-05-14 14:48:28 24.05.20240419.5c24cf2 6.6.28 * --- boxes/desktop/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boxes/desktop/home.nix b/boxes/desktop/home.nix index 4bafde2..92e3588 100644 --- a/boxes/desktop/home.nix +++ b/boxes/desktop/home.nix @@ -126,6 +126,11 @@ in # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') + (pkgs.writeShellScriptBin "git_fetchAll" '' + git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "''${remote#origin/}" "$remote"; done +git fetch --all +git pull --all + '') (pkgs.writeShellScriptBin "install_eslint" '' set -x cp /home/${config.home.username}/.config/.eslintrc.json . @@ -197,6 +202,7 @@ in # home.shellAliases = { paste = "xsel -ob"; + lg = "lazygit"; copy = "xsel -ib"; b = "/home/${config.home.username}/nixos/build"; };