Skip to content

Instantly share code, notes, and snippets.

@appleseed-iii
Last active April 16, 2025 18:30
Show Gist options
  • Save appleseed-iii/e2c30734173a536aa6e549de7029091d to your computer and use it in GitHub Desktop.
Save appleseed-iii/e2c30734173a536aa6e549de7029091d to your computer and use it in GitHub Desktop.
# ----------------------
# Git Aliases
# ----------------------
alias gaa='git add .'
alias gco='git checkout'
# alias gcm='git commit'
# python aliases
alias mvenv='python3 -m venv .venv'
alias avenv='source .venv/bin/activate'
alias dvenv='deactivate'
alias ppi='python3 -m pip install'
# perl5 if you need it
# eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
# ---------
# browser
export BROWSER="Brave Browser"
# -----
# node via fnm: https://github.com/Schniz/fnm?tab=readme-ov-file#shell-setup
# sample fnm install command: fnm install --lts --corepack-enabled # globally?
eval "$(fnm env --use-on-cd --shell zsh --version-file-strategy=recursive --corepack-enabled)"
# good gpg directions: https://alexnorell.com/post/set-up-gpg/#what-is-gpg
## add gcm func from: https://gist.github.com/appleseed-iii/f21624b8bd9103eab3aae5f267326960
# Import `gcm()` & it will be available in your shell.
# it is expected to be at the below path
source "$HOME/ai/llama-commit.sh"
# pnpm
export PNPM_HOME="/Users/apple/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/ruby/lib/pkgconfig"
export SHOPIFY_RUBY_BINDIR="/opt/homebrew/opt/ruby/bin"
. "$HOME/.local/bin/env"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment