feat: add antigravity cli and termato as installed packages

This commit is contained in:
Stevan Freeborn
2026-07-24 14:16:55 -05:00
parent 28d7ae9fd7
commit 9e52253bba
4 changed files with 53 additions and 0 deletions
@@ -9,12 +9,14 @@ echo "==> Configuring shell environment (Linux)..."
# --- Set zsh as default shell ---
ZSH_PATH=$(which zsh 2>/dev/null || echo "")
if [ -z "$ZSH_PATH" ]; then
echo " ERROR: zsh is not installed. Run the package install script first."
exit 1
fi
CURRENT_SHELL=$(getent passwd "$USER" | cut -d: -f7)
if [ "$CURRENT_SHELL" != "$ZSH_PATH" ]; then
echo " Setting zsh as default shell..."
chsh -s "$ZSH_PATH"
@@ -25,9 +27,11 @@ fi
# --- Set up Rust (cargo) in environment ---
CARGO_ENV="$HOME/.cargo/env"
if [ -f "$CARGO_ENV" ]; then
RUST_ZSHENV_LINE='. "$HOME/.cargo/env"'
ZSHENV="$HOME/.zshenv"
if ! grep -qF "$RUST_ZSHENV_LINE" "$ZSHENV" 2>/dev/null; then
echo "$RUST_ZSHENV_LINE" >> "$ZSHENV"
echo " Added Rust cargo env to .zshenv"
@@ -38,6 +42,7 @@ fi
if [ -d "/usr/local/go" ]; then
GO_ZSHENV_LINE='export PATH=$PATH:/usr/local/go/bin'
ZSHENV="$HOME/.zshenv"
if ! grep -qF "go/bin" "$ZSHENV" 2>/dev/null; then
echo "$GO_ZSHENV_LINE" >> "$ZSHENV"
echo " Added Go to PATH in .zshenv"