-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshrc
83 lines (67 loc) · 1.25 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
# Initialize starship prompt
eval "$(starship init zsh)"
# Set shell theme
ZSH_THEME="spaceship"
# Config
HIST_STAMPS="dd/mm/yyyy"
autoload -U compinit && compinit
# Default editor
export EDITOR="code"
# Plugins
plugins=(
brew
copyfile
copypath
docker
docker-compose
emoji
extract
fnm
git
gitignore
iterm2
kubectl
last-working-dir
macos
npm
rust
transfer
vscode
web-search
yarn
zsh-autosuggestions
zsh-completions
zsh-syntax-highlighting
)
# Cargo
source $HOME/.cargo/env
# FNM (Fast Node Manager)
eval "$(fnm env)"
# Oh my ZSH
source $ZSH/oh-my-zsh.sh
# Functions
source ~/.functions
# Aliases
source ~/.aliases
# fet.sh
~/.fet
# npm
export DISABLE_OPENCOLLECTIVE=1
export ADBLOCK=1
# pnpm
export PNPM_HOME="/Users/nuro/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end
# bun completions
[ -s "/Users/nuro/.bun/_bun" ] && source "/Users/nuro/.bun/_bun"
# Bun
export BUN_INSTALL="/Users/nuro/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# ni
export NI_CONFIG_FILE="$HOME/.config/.nirc"
# Golang
export GOPATH=~/go/
export GOROOT=/opt/homebrew/Cellar/go/1.21.6/libexec
export PATH="$GOPATH/bin:$PATH"