-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshenv
46 lines (32 loc) · 1.08 KB
/
.zshenv
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
# ~/.zshenv
# Maintainer: Clément Vidon
export PATH=$PATH:"$HOME/.local/bin"
export PATH=$PATH:"$HOME/bin"
######################################## Go
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
######################################## GnuPG
export GPG_TTY=$(tty)
export GNUPGHOME=$HOME/.gnupg
######################################## NVM & Node
export NVM_DIR="$HOME/.nvm"
export PATH=$HOME/.npm/bin:$PATH
export PATH=$PATH:"$HOME/node_modules/.bin"
######################################## Snap
if (( $+commands[snap] )); then
export PATH=$PATH:/snap/bin
fi
######################################## Password Store
if (( $+commands[pass] )); then
export PASSWORD_STORE_DIR=$HOME/pass
export PASSWORD_STORE_CLIP_TIME=10
export PASSWORD_STORE_CLIPBOARD=primary
export PASSWORD_STORE_GENERATED_LENGTH=32
export EDITOR="/bin/vim"
fi
######################################## Internet Computer
if (( $+commands[dfx] )); then
export PATH=$PATH:"$(dfx cache show)"
fi
# [ -r $HOME/.zshrc ] && source $HOME/.zshrc TODO