git cleanup

This commit is contained in:
Chris Kruining 2025-03-30 22:50:45 +02:00
parent b39414b1e7
commit 392d97eed3
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg

View file

@ -13,20 +13,20 @@ in
home-manager.users.${user} = { home-manager.users.${user} = {
home.packages = attrValues { home.packages = attrValues {
inherit (pkgs) act dura lazygit; inherit (pkgs) lazygit;
inherit (pkgs.gitAndTools) gh git-open git-crypt; # inherit (pkgs.gitAndTools) gh git-open git-crypt;
}; };
programs = { programs = {
zsh.initExtra = '' zsh.initExtra = ''
# -------===[ Helpful Git Fn's ]===------- # # -------===[ Helpful Git Fn's ]===------- #
gitignore() { gitignore() {
curl -s -o .gitignore https://gitignore.io/api/$1 curl -s -o .gitignore https://gitignore.io/api/$1
} }
''; '';
fish.functions = { fish.functions = {
gitignore = "curl -sL https://www.gitignore.io/api/$argv"; gitignore = "curl -sL https://www.gitignore.io/api/$argv";
}; };
git = { git = {