Files
configs/zsh/.zsh_mac
Luis Freixial 8b49c1b8a5 update-zsh
2025-07-10 21:53:23 +01:00

21 lines
1.2 KiB
Plaintext

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"
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
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.1.3/bin:$PATH"
export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.1.3/bin:$PATH"
# source $(dirname $(gem which colorls))/tab_complete.sh
export PATH="/opt/homebrew/opt/ruby@3.1.3/bin:$PATH"
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh