forked from samnang/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
42 lines (31 loc) · 1 KB
/
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
33
34
35
36
37
38
39
40
41
42
# Enable extended globbing
setopt extendedglob
# Allow [ or ] whereever you want
unsetopt nomatch
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
plugins=(asdf autoupdate fzf httpie starship zoxide)
source $ZSH/oh-my-zsh.sh
######################
# User configuration #
######################
export EDITOR="nvim"
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
# Web3
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
export PATH="$HOME/.avm/bin:$PATH"
export PATH="$PATH:$HOME/.foundry/bin"
#########################
# Plugins Customization #
#########################
export FZF_DEFAULT_COMMAND="rg --files --hidden"
export STARSHIP_CONFIG=~/.starship.toml
[ -f ~/.zshrc.local ] && source ~/.zshrc.local
[ -f ~/.aliases ] && source ~/.aliases
# 1Password CLI
if (( ${+commands[op]} )); then
eval "$(op completion zsh)"
compdef _op op
[ -f ~/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh
fi