From 6f2b75e9f4561f3c235ce12e98ab735a2d934670 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 21 Jun 2026 09:26:02 -0400 Subject: [PATCH] Oh gosh attempting to shed oh-my-zsh --- zshrc | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/zshrc b/zshrc index 135a1f2..cfa5a82 100644 --- a/zshrc +++ b/zshrc @@ -45,6 +45,11 @@ path=( /usr/local/texlive/2018/bin/x86_64-darwin ) +cdpath=( + $HOME/code + $HOME/src +) + plugins=( archlinux asdf @@ -89,7 +94,7 @@ fi fpath=(/usr/local/share/zsh/site-functions $fpath) fpath=("${HOMEBREW_PREFIX}/share/zsh/site-functions" $fpath) -source $ZSH/oh-my-zsh.sh +#source $ZSH/oh-my-zsh.sh unalias gb &>/dev/null @@ -104,13 +109,13 @@ GPG_TTY="$(tty)" export GPG_TTY # The completion for aws is not compatible with $fpath :scream_cat: -if [[ -f /usr/local/share/zsh/site-functions/_aws ]]; then - source /usr/local/share/zsh/site-functions/_aws -fi +#if [[ -f /usr/local/share/zsh/site-functions/_aws ]]; then +# source /usr/local/share/zsh/site-functions/_aws +#fi -if [[ -f ~/.local/bin/aws_zsh_completer.sh ]]; then - source ~/.local/bin/aws_zsh_completer.sh -fi +#if [[ -f ~/.local/bin/aws_zsh_completer.sh ]]; then +# source ~/.local/bin/aws_zsh_completer.sh +#fi if command -v xdg-open &>/dev/null; then alias open=xdg-open @@ -154,6 +159,12 @@ brew() { brew "${@}" } +direnv() { + unset -f direnv + eval "$(direnv hook zsh)" + direnv "${@}" +} + nvm() { unset -f nvm __maybesource /usr/share/nvm/init-nvm.sh silent @@ -228,13 +239,8 @@ print(base64.b64encode(secrets.token_bytes(${nbytes} * 2)).decode(), end="") EOPYTHON } -cdpath=( - $HOME/code - $HOME/src -) - -__maybesource ~/.cargo/env __maybesource ~/.zshenv +__maybesource ~/.cargo/env __maybesource ~/google-cloud-sdk/path.zsh.inc __maybesource ~/google-cloud-sdk/completion.zsh.inc __maybesource ~/.kiex/scripts/kiex @@ -250,10 +256,10 @@ fi autoload -U promptinit promptinit +prompt pure zstyle :prompt:pure:path color '#FFB86C' zstyle :prompt:pure:prompt color '#50FA7B' zstyle :prompt:pure:git:branch color '#BD93F9' -prompt pure compdef _symfony_complete composer compdef _symfony_complete dep