Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ brew "lsd"
brew "lua"
brew "neovim"
brew "mosh"
brew "node"
brew "postgresql@17"
brew "pre-commit"
brew "tmux"
Expand Down
2 changes: 0 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# ----
# Basics

set -o vi

export LANG='en_US.UTF-8'

# Ask uv to check resolved packages against malicious-package advisories.
Expand Down
85 changes: 81 additions & 4 deletions zshrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
# Basics
source ~/.bashrc
# bashrc is no longer sourced from zshrc (bash-specific syntax can break under zsh).
# The shared aliases/exports below are inlined here; a follow-up extracts them to shared.sh.

export LANG='en_US.UTF-8'
export XDG_CONFIG_HOME="$HOME/dotfiles"
export GPG_TTY=$(tty)

# Homebrew (Intel + ARM) PATH
export PATH="/usr/local/bin:${PATH}"
export PATH="/opt/homebrew/bin:${PATH}"
# Postgres
export PATH="$(brew --prefix postgresql@17)/bin:${PATH}"

# Aliases — general
alias vi=nvim
alias vim=nvim
alias ls="lsd -al"
alias claude="$HOME/.local/bin/claude"

# Aliases — Docker
alias d='docker'
alias dc='docker compose'
alias dcup='docker compose up'
alias dsp='docker system prune --all --force'
alias docker_rmi_dangling='docker rmi $(docker images -qa -f "dangling=true") -f'

# Aliases — python
alias python='python3.11'
alias python3='python3.11'
alias pip='python3.11 -m pip'
alias pip3='pip'
alias grepy='grep -r --include \*.py'
alias greps='grep -r --include \*.sql'
alias jpn='jupyter notebook'
function ver {
pip list | grep $1
}

# Aliases — git
alias g='git status'
alias gs='git status'
alias gf='git fetch'
alias gm='git merge'
alias ga='git add'
alias gb='git branch'
alias gc='git commit'
alias gck='git checkout'
alias gckb='git checkout -b'
alias gd='git diff'
alias gg='git grep'
alias gl='git log --reverse -n 10'
alias gpl='git pull'
alias gp='git push'
alias gdm='git diff main'
alias gdnm='git diff --name-only origin/main'
alias gcap='git checkout main && git pull'

# Aliases — kube
alias ku='kubectl'
alias kuc='kubectl config'

# Aliases — dbt
alias docs="dbt docs generate; dbt docs serve"
alias dbtb="dbt build"
alias dbtc="dbt compile"
alias dbtr="dbt run"

# Aliases — rust
alias cb="cargo build"
alias cr="cargo run"
alias ct="cargo test"

# Aliases — modal
alias md="modal deploy"
alias mr="modal run"

# Aliases — terraform
alias tf="terraform"

export ZSH="$HOME/.oh-my-zsh"
export UPDATE_ZSH_DAYS=13
Expand All @@ -25,9 +102,9 @@ HIST_STAMPS="mm/dd/yyyy"
COMPLETION_WAITING_DOTS="false"

# Plugins
plugins=(
git
)
# (OMZ git plugin removed — it loads after the custom git aliases above and was
# shadowing them, e.g. its gl='git pull' clobbered gl='git log --reverse -n 10')
plugins=()

bindkey -e
bindkey "^[begin" backward-word
Expand Down
Loading