31 lines
629 B
Bash
31 lines
629 B
Bash
# ---- homebrew ----
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
|
|
# ---- Aliases ----
|
|
alias ls='lsd'
|
|
alias lg='lazygit'
|
|
alias nv='nvim'
|
|
alias neofetch="fastfetch"
|
|
alias python='python3'
|
|
|
|
# ---- Air GO hot reload ----
|
|
alias air="~/go/bin/air"
|
|
|
|
# ---- starship ----
|
|
eval "$(starship init zsh)"
|
|
|
|
# ---- zoxide ----
|
|
eval "$(zoxide init --cmd cd zsh)"
|
|
|
|
# ---- fzf ----
|
|
source <(fzf --zsh)
|
|
|
|
# ---- syntax highlighting ----
|
|
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
export EDITOR="nvim"
|
|
export MANPAGER="nvim +Man!"
|
|
|
|
# bun completions
|
|
[ -s "/Users/lilj/.bun/_bun" ] && source "/Users/lilj/.bun/_bun"
|