update-zsh

This commit is contained in:
Luis Freixial
2025-07-10 21:53:23 +01:00
parent c5472fc27b
commit 8b49c1b8a5
4 changed files with 90 additions and 6 deletions

View File

@@ -1,11 +1,13 @@
if [[ -f "/opt/homebrew/bin/brew" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
export PATH="/Library/Developer/CommandLineTools/usr/bin:$PATH"
alias f='selected=$(find . -type f | fzf --preview "bat --style=numbers --color=always {}") && [ -n "$selected" ] && vim "$selected"'
alias ghostty_config='v $HOME/Library/Application\ Support/com.mitchellh.ghostty/config'
alias cat='bat'
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
#source $(brew --prefix powerlevel10k)/powerlevel10k.zsh-theme
export PATH="$PATH:/Users/luisfreixial/.cargo/bin"
#source $(brew --prefix powerlevel10k)/powerlevel10k.zsh-theme
export GOPATH=$HOME/go
export GOROOT="$(brew --prefix golang)/libexec"
alias python=/usr/bin/python3