repos / dotfiles

my dotfiles

commit
9fa3f9e
parent
2ea9e6c
author
Eric bower
date
2025-07-15 16:24:39 -0400 EDT
chore: update zshrc
2 files changed,  +22, -80
M dot/zshrc
+20, -80
  1@@ -1,88 +1,28 @@
  2-# Path to your oh-my-zsh installation.
  3-export ZSH="$HOME/.oh-my-zsh"
  4-export EDITOR="nvim"
  5-export VISUAL="nvim"
  6-export GPG_TTY=$(tty)
  7-export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#bd93f9,underline"
  8-export XDG_CONFIG_HOME="$HOME/.config"
  9+export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:/opt/homebrew/bin:/opt/homebrew/opt/node@20/bin:${HOME}/.yarn/bin:${HOME}/.local/bin:${HOME}/.npm-packages/bin:${HOME}/.local/bin:${HOME}/.local/share/uv/python/cpython-3.11.9-macos-aarch64-none/bin:$PATH"
 10+export AWS_PROFILE=prod-PowerUserAccess
 11+export XDG_CONFIG_HOME=/Users/eric.bower/.config
 12 
 13-# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
 14-ZSH_THEME="robbyrussell"
 15+alias ls="ls --color=auto"
 16+alias tre="eza --color=always --git-ignore -T -L 2"
 17+alias ash="autossh -M 0"
 18 
 19-# Required installations
 20-# https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md#oh-my-zsh
 21-# https://github.com/zsh-users/zsh-completions#oh-my-zsh
 22-# https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh
 23-plugins=(zsh-completions zsh-autosuggestions zsh-syntax-highlighting docker-compose history bundler)
 24+autoload -Uz vcs_info
 25+precmd() { vcs_info }
 26 
 27-source $ZSH/oh-my-zsh.sh
 28+zstyle ':vcs_info:git:*' formats '%b '
 29 
 30-# zsh-autosuggetion ctrl+space
 31-bindkey '^ ' autosuggest-accept
 32-# zsh-completions
 33-autoload -U compinit && compinit
 34-# load zsh completions
 35-fpath=(~/.zsh.d/ $fpath)
 36-# manual completions
 37-zstyle ':completion:*:manuals'    separate-sections true
 38-zstyle ':completion:*:manuals.*'  insert-sections   true
 39-zstyle ':completion:*:man:*'      menu yes select
 40+setopt PROMPT_SUBST
 41+PROMPT='%F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
 42 
 43-alias vimdiff='nvim -d'
 44-alias gu="git remote update --prune"
 45-alias ga="git add -A"
 46-alias gm="git commit -S"
 47-alias gs="git commit -S --amend --no-edit"
 48-alias gl="git --no-pager log --oneline -n 30"
 49-alias gt="git log --graph --oneline --all"
 50-alias pushall="git remote | xargs -I R git push R"
 51-alias tmux="tmux -u"
 52-alias scratch="nvim ~/scratch.md"
 53-alias bcp='rsync -avzu --progress'
 54-alias weather='curl wttr.in/Ann+Arbor+Michigan'
 55-alias dhe="distrobox-host-exec"
 56-alias img="img2sixel"
 57+source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
 58+source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 59+fpath=(~/.zsh/zsh-completions/src $fpath)
 60+autoload -Uz compinit
 61+compinit
 62 
 63-export PATH="$PATH:/usr/local/bin:$HOME/.local/bin:$HOME/bin"
 64+eval "$(direnv hook zsh)"
 65 
 66-case "$OSTYPE" in
 67-  darwin*)
 68-    setopt NO_NOMATCH
 69-    alias aptible-login="aptible login --lifetime 7days --email eric.bower@aptible.com"
 70-    alias pss='aws-vault exec prod ~/work/pancake/bin/pancake stack:ssh eric'
 71-    alias aptible-eric="DOMAIN=aptible-sandbox.com SUBDOMAIN_SUFFIX=eric APTIBLE_AUTH_ROOT_URL=https://auth-eric.aptible-sandbox.com APTIBLE_API_ROOT_URL=https://api-eric.aptible-sandbox.com APTIBLE_REMOTE=eric"
 72-    export PATH="/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/Users/eric/.deno/bin:/usr/local/sbin:$PATH"
 73-    export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
 74-    alias sbx-main='DOMAIN=aptible-sandbox.com SUBDOMAIN_SUFFIX=sbx-main APTIBLE_AUTH_ROOT_URL=https://auth-sbx-main.aptible-sandbox.com APTIBLE_API_ROOT_URL=https://api-sbx-main.aptible-sandbox.com APTIBLE_REMOTE=sbx-main'
 75-    gpgconf --launch gpg-agent
 76-
 77-    source /opt/homebrew/opt/chruby/share/chruby/chruby.sh
 78-
 79-    export NVM_DIR="$HOME/.config/nvm"
 80-    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
 81-    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
 82-  ;;
 83-  linux*)
 84-    # alias paclean="sudo pacman -Rs $(sudo pacman -Qqtd)"
 85-    # ncdu to see folder sizes
 86-    # imv for pictures
 87-    # thunar for gui file manager
 88-    # alias webcam="mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0"
 89-    alias inbox="mlist $MDIR/INBOX"
 90-
 91-    export VDIRSYNCER_CONFIG="$HOME/.config/vdirsyncer/config"
 92-    export MDIR="$HOME/mail"
 93-    export MOZ_ENABLE_WAYLAND=1
 94-    # https://github.com/qutebrowser/qutebrowser/discussions/7938#discussioncomment-8672918
 95-    # export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
 96-
 97-    eval $(keychain --eval --quiet --agents ssh,gpg ~/.ssh/id_ed25519 76D3FD02)
 98-    export PATH="/home/erock/.deno/bin:/home/erock/.yarn/bin:/home/erock/go/bin:/home/erock/.npm-packages/bin:/opt/nvim-linux64/bin:/home/erock/nvim/bin:$PATH"
 99-  ;;
100-esac
101-
102-if [ -x "$(command -v direnv)" ]; then
103-  eval "$(direnv hook zsh)"
104+# Generated by sdxcli
105+if command -v sdxcli &>/dev/null; then
106+    eval "$(sdxcli output-shell-commands)"
107 fi
108-
109-export PROMPT='%{$fg[yellow]%}@%M %{$fg_bold[green]%}%c%{$reset_color%} $(git_prompt_info)'
M dotfiles.sh
+2, -0
 1@@ -11,6 +11,7 @@ TRACKED_FILES=(
 2     dot_mblaze/mblaze
 3     dot/msmtprc
 4     dot/npmrc
 5+    dot/zshrc
 6 )
 7 
 8 TRACKED_LOCATIONS=(
 9@@ -24,6 +25,7 @@ TRACKED_LOCATIONS=(
10     ~/.mblaze/profile
11     ~/.msmtprc
12     ~/.npmrc
13+    ~/.zshrc
14 )
15 
16 find_files() {