Shell config stuff

This commit is contained in:
Max Bucknell 2024-08-08 10:38:21 +10:00
parent 9ba4ee6587
commit 8376c3f499
No known key found for this signature in database

View file

@ -80,7 +80,7 @@ compinit
source "$HOME/.zsh/_bazel"
## Syntax Highlighting
source "$HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Make errors red
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
@ -192,7 +192,7 @@ setopt extended_history
setopt hist_lex_words
# Liquid Prompt!
[[ $- = *i* ]] && source "$HOME/.zsh/liquidprompt/liquidprompt"
source /opt/homebrew/share/liquidprompt
# Vim!
alias vim=nvim
@ -200,12 +200,6 @@ alias vim=nvim
alias vi=nvim
alias v=nvim
# Exa!
alias ls=eza
# Bat!
alias cat="bat --color never"
# Bazel -__-
alias bazel='bazelisk'
@ -246,11 +240,8 @@ function select_session {
# select_session
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/opt/max/google-cloud-sdk/path.zsh.inc' ]; then . '/opt/max/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/opt/max/google-cloud-sdk/completion.zsh.inc' ]; then . '/opt/max/google-cloud-sdk/completion.zsh.inc'; fi
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
# pnpm
export PNPM_HOME="/Users/maxbucknell/Library/pnpm"