125 current 2024-05-14 14:48:28 24.05.20240419.5c24cf2 6.6.28 *

This commit is contained in:
sadanslargehole 2024-05-14 14:48:38 -04:00
parent ee103fda84
commit 9f41de6c75
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800

View file

@ -126,6 +126,11 @@ in
# (pkgs.writeShellScriptBin "my-hello" '' # (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!" # 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" '' (pkgs.writeShellScriptBin "install_eslint" ''
set -x set -x
cp /home/${config.home.username}/.config/.eslintrc.json . cp /home/${config.home.username}/.config/.eslintrc.json .
@ -197,6 +202,7 @@ in
# #
home.shellAliases = { home.shellAliases = {
paste = "xsel -ob"; paste = "xsel -ob";
lg = "lazygit";
copy = "xsel -ib"; copy = "xsel -ib";
b = "/home/${config.home.username}/nixos/build"; b = "/home/${config.home.username}/nixos/build";
}; };