-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
32 lines (27 loc) · 661 Bytes
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Set variables
export LANG=en_US.UTF-8
export DOTFILES="$HOME/.dotfiles"
export HOMEBREW_BUNDLE_FILE="$DOTFILES/Brewfile"
# Alias
alias exa='exa -Faals Name --git'
alias ls='exa -Faals Name --git'
alias trail='cat -n <<<${(F)path}'
alias bbd='brew bundle dump --force --describe'
source "$DOTFILES/zsh/alias/git.zsh"
# Handle PATH
typeset -U path
path=(
"$HOME/.cargo/bin"
"/opt/homebrew/bin"
$path
)
## PATH setting that uses homebrew-installed packages
path=(
"$(go env GOPATH)/bin"
$path
)
eval "$(fnm env --use-on-cd)"
# Setup Starship
eval "$(starship init zsh)"
# Plugins
source "$DOTFILES/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"