-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.zshrc
38 lines (27 loc) · 896 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
33
34
35
36
37
38
ZSH_THEME="agnoster"
plugins=(git colored-man-pages)
# Reload theme
source $ZSH/oh-my-zsh.sh
# Load plugins
source /usr/share/zgen/zgen.zsh
zgen load zsh-users/zsh-syntax-highlighting
zgen load zsh-users/zsh-autosuggestions
zgen load zsh-users/zsh-completions
source ~/.dotfiles/.aliases
export PAGER="less"
# go
export GOPATH=/usr/share/go
# deno
export DENO_INSTALL=$HOME/.deno
# node
export NVM_DIR=$HOME/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# pnpm
export PNPM_HOME=$HOME/.local/share/pnpm
# zoxide
eval "$(zoxide init zsh)"
rm ~/.zcompdump*; compinit
# PATH
export PATH=$HOME/bin:/usr/games:/usr/local/bin:$HOME/.nvm:/usr/local/go/bin:$DENO_INSTALL/bin:$HOME/.cargo/bin:$GOPATH/bin:$PNPM_HOME:$PATH
echo "$(cat $HOME/.dotfiles/banner)" | lolcat