-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshenv
77 lines (64 loc) · 2.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/zsh
export XDG_CURRENT_DESKTOP="dwm"
# XDG Compliance
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share
# System Directiories
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_CONFIG_DIRS=/etc/xdg
# Misc PATH
export PATH="$PATH:$HOME/.local/statusbar"
export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/.local/bin/polyscr"
export PATH="$PATH:$HOME/.config/nvim/utils/bin"
export PATH="$PATH:$XDG_DATA_HOME/gem/ruby/3.0.0/bin"
# export PATH="$PATH:$HOME/.local/share/npm/lib/node_modules/.bin"
# export PATH="$PATH:$HOME/node_modules/.bin"
# GDK
# export GDK_SCALE=1.5
# export GDK_DPI_SCALE=.625
# -------------------------- Cleanup Home -------------------------------------
# Atom
export ATOM_HOME="$XDG_DATA_HOME"/atom
export ATOM_CONFIG="$XDG_CONFIG_HOME"/Atom
export ATOM_CACHE="$XDG_CACHE_HOME"/atom
# Cargo
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export PATH="$XDG_DATA_HOME/cargo/bin:$PATH"
# Conda
export CONDARC="$XDG_CONFIG_HOME/conda/condarc"
export PATH="$HOME/miniconda3/condabin:$PATH" # can't be changed?
export PATH="$HOME/miniconda3/bin:$PATH" # can't be changed?
# Node / NPM
export PATH="$PATH:$HOME/.local/share/npm/bin"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
# export NPM_CONFIG_PREFIX="$HOME"/node_modules
export NPM_CONFIG_PREFIX="$XDG_DATA_HOME"/npm
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
# Misc
export GNUPGHOME="$XDG_DATA_HOME"/gnupg #gpg --homedir "$XDG_DATA_HOME"/gnupg
export GOPATH="$XDG_DATA_HOME"/go
export PATH="$XDG_DATA_HOME/go/bin:$PATH"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export JAVA_FONTS=/usr/share/fonts/TTF
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export TUXTYPE_CONF="$XDG_CONFIG_HOME/tuxtype/settings.txt"
# export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
export MYVIMRC=XDG_CONFIG_HOME/nvim/init.lua
export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
export STACK_ROOT="$XDG_DATA_HOME"/stack
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
export SSB_HOME="$XDG_DATA_HOME"/zoom
# export ALSA_CONFIG_DIR="$XDG_CONFIG_HOME/alsa/asoundrc"
export ANDROID_HOME="$XDG_DATA_HOME"/android
export CONAN_USER_HOME="$XDG_CONFIG_HOME"/conan
#zsh
export ZDOTDIR="$XDG_CONFIG_HOME/zsh/"
export PATH="$PATH:$XDG_CONFIG_HOME/zsh/"
export HISTFILE="$XDG_CACHE_HOME/zsh/history"
HIST_STAMPS=mm/dd/yyyy
HISTSIZE=10000
SAVEHIST=10000
unclutter --timeout 3 -b