-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshenv
58 lines (41 loc) · 1.47 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
47
48
49
50
51
52
53
54
55
56
57
58
# clem/.zshenv
# Created: 230828 14:48:02 by clem@spectre
# Updated: 230828 14:48:02 by clem@spectre
# Maintainer: Clément Vidon
export PATH=$PATH:"$HOME/bin"
export PATH=$PATH:"$HOME/.local/bin"
export PATH=$PATH:"$HOME/.local/script"
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export PATH=$PATH:/snap/bin
export PATH=$HOME/.npm/bin:$PATH
export PATH=$PATH:"$HOME/node_modules/.bin"
export PATH=$PATH:"$HOME/.cargo/bin"
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
[ -r $HOME/.zshrc ] && source $HOME/.zshrc
######################################## Scaleway
export VAULT_ADDR=https://vault.sec.internal.scaleway.com/
# export VAULT_TOKEN="$(vault login -format=json -method=ldap username=cvidon | jq -r .auth.client_token)"
######################################## GnuPG
export GPG_TTY=$(tty)
export GNUPGHOME=$HOME/.gnupg
######################################## 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
######################################## i3-wm
if (( $+commands[i3] )); then
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
export GDK_SCALE=2
startx
fi
fi
######################################## Internet Computer
if (( $+commands[dfx] )); then
export PATH=$PATH:"$(dfx cache show)"
fi