Initial upload
This commit is contained in:
18
zsh/.zsh_mac
Normal file
18
zsh/.zsh_mac
Normal file
@@ -0,0 +1,18 @@
|
||||
if [[ -f "/opt/homebrew/bin/brew" ]]; then
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
alias f='selected=$(find . -type f | fzf --preview "bat --style=numbers --color=always {}") && [ -n "$selected" ] && vim "$selected"'
|
||||
|
||||
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/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
|
||||
Reference in New Issue
Block a user