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:
@@ -19,7 +19,7 @@
|
|||||||
".envrc"
|
".envrc"
|
||||||
".direnv"
|
".direnv"
|
||||||
".ddev"
|
".ddev"
|
||||||
".claude"
|
".claude/"
|
||||||
"CLAUDE.local.md"
|
"CLAUDE.local.md"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user