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.packages = attrValues {
inherit (pkgs) act dura lazygit;
inherit (pkgs.gitAndTools) gh git-open git-crypt;
inherit (pkgs) lazygit;
# inherit (pkgs.gitAndTools) gh git-open git-crypt;
};
programs = {
zsh.initExtra = ''
# -------===[ Helpful Git Fn's ]===------- #
gitignore() {
# -------===[ Helpful Git Fn's ]===------- #
gitignore() {
curl -s -o .gitignore https://gitignore.io/api/$1
}
}
'';
fish.functions = {
gitignore = "curl -sL https://www.gitignore.io/api/$argv";
gitignore = "curl -sL https://www.gitignore.io/api/$argv";
};
git = {