This commit is contained in:
Joe Lillibridge 2024-10-30 09:27:56 -05:00
parent b0ecfe334b
commit b1b2e323f6
No known key found for this signature in database
2 changed files with 3 additions and 10 deletions

View File

@ -8,6 +8,7 @@ export GREP_OPTIONS='--color=auto'
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$PATH
export ZDOTDIR=${ZDOTDIR:-$HOME/.config/zsh} export ZDOTDIR=${ZDOTDIR:-$HOME/.config/zsh}
export ZPLUGINDIR=${ZPLUGINDIR:-${ZDOTDIR}/plugins} export ZPLUGINDIR=${ZPLUGINDIR:-${ZDOTDIR}/plugins}
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
export NVM_DIR=$HOME/.nvm export NVM_DIR=$HOME/.nvm
[[ "$(command -v bat)" ]] && export PAGER="bat -p" [[ "$(command -v bat)" ]] && export PAGER="bat -p"

12
.zshrc
View File

@ -50,11 +50,6 @@ for file in "${FILES_TO_SOURCE[@]}"; do
fi fi
done done
# environment variables
export PATH="$PATH:${HOME}/.local/bin"
export CLICOLOR=1
# export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
# Load functions # Load functions
fpath+=("$HOME/.config/zsh/functions") fpath+=("$HOME/.config/zsh/functions")
@ -77,12 +72,9 @@ prompt pure
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh && source <(fzf --zsh) [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh && source <(fzf --zsh)
if [ "$system_type" = "Darwin" ]; then if [ "$system_type" = "Darwin" ]; then
[ -f ~/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh [ -f $HOME/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh
[ -e "${HOME}/.iterm2_shell_integration.zsh" ] && source "${HOME}/.iterm2_shell_integration.zsh" [ -e $HOME/.iterm2_shell_integration.zsh ] && source $HOME/.iterm2_shell_integration.zsh
[ -f /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh ] && source /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh [ -f /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh ] && source /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh
# [ -f /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] && source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# [ -f /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh ] && source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# [ -f /opt/homebrew/share/liquidprompt ] && source /opt/homebrew/share/liquidprompt
fi fi
$HOME/.iterm2/it2check $HOME/.iterm2/it2check