feat: zsh & git updates (aliases, env vars, gitignore fix)

Remove gh copilot alias, add antigravity GPU wrapper, add claude perso
alias, set HUSKY=0, fix .claude/ gitignore pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Pierre Martin
2026-02-17 16:12:12 +01:00
parent e1d4d4bbce
commit f425bf576c
2 changed files with 8 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
".envrc" ".envrc"
".direnv" ".direnv"
".ddev" ".ddev"
".claude" ".claude/"
"CLAUDE.local.md" "CLAUDE.local.md"
]; ];

View File

@@ -68,9 +68,6 @@
eval "$(op completion zsh)"; compdef _op op eval "$(op completion zsh)"; compdef _op op
eval "$(logcli --completion-script-zsh)" eval "$(logcli --completion-script-zsh)"
# https://docs.github.com/en/copilot/github-copilot-in-the-cli/using-github-copilot-in-the-cli?s=03#setting-up-aliases-for-copilot-in-the-cli
eval "$(gh copilot alias -- zsh)"
# K8s # K8s
source <(helm completion zsh) source <(helm completion zsh)
source <(k3d completion zsh) source <(k3d completion zsh)
@@ -79,6 +76,11 @@
# https://github.com/Schniz/fnm#shell-setup # https://github.com/Schniz/fnm#shell-setup
eval "$(fnm env --use-on-cd --shell zsh)" eval "$(fnm env --use-on-cd --shell zsh)"
unalias a
a() {
antigravity $@ --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-gpu-rasterization
}
''; '';
sessionVariables = { sessionVariables = {
@@ -88,6 +90,7 @@
PATH = "$PATH:$HOME/.npm/bin:$HOME/.local/bin"; PATH = "$PATH:$HOME/.npm/bin:$HOME/.local/bin";
# Use a local Cypress binary instead of the one installed by the CLI (not usable on NixOS) # Use a local Cypress binary instead of the one installed by the CLI (not usable on NixOS)
# see https://github.com/NixOS/nixpkgs/pull/56387 and https://discourse.nixos.org/t/cypress-with-npm/15137/4 # see https://github.com/NixOS/nixpkgs/pull/56387 and https://discourse.nixos.org/t/cypress-with-npm/15137/4
HUSKY = 0;
CYPRESS_INSTALL_BINARY = 0; CYPRESS_INSTALL_BINARY = 0;
CYPRESS_RUN_BINARY = "$HOME/.nix-profile/bin/Cypress"; CYPRESS_RUN_BINARY = "$HOME/.nix-profile/bin/Cypress";
LD_LIBRARY_PATH = "${pkgs.libgcc}/lib"; LD_LIBRARY_PATH = "${pkgs.libgcc}/lib";
@@ -121,7 +124,7 @@
gui = "gitui"; gui = "gitui";
htop = "btop"; htop = "btop";
c = "claude"; c = "claude";
a = "antigravity"; p = "CLAUDE_CONFIG_DIR=~/.claude-perso claude";
}; };
}; };
} }