-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshenv
41 lines (31 loc) · 1.07 KB
/
dot_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
# $HOME/.config/ is the default directory for configuration files (XDG_CONFIG_HOME)
# $HOME/.cache/ is the default directory for non-essential data files (XDG_CACHE_HOME)
# $HOME/.local/share/ is the default directory for data files (XDG_DATA_HOME)
# $HOME/.local/state/ is the default directory for storing runtime data (XDG_STATE_HOME)
# zsh
export ZDOTDIR=$HOME/.config/zsh/
export HISTFILE=$HOME/.local/state/zsh_history
export HISTSIZE=10000
export SAVEHIST=10000
# editor
export EDITOR='nvim'
export VISUAL='nvim'
# man
export MANPAGER='nvim +Man!'
# ls
export LSCOLORS='exfxcxdxbxeafabagacada'
# composer
export COMPOSER_HOME=$HOME/.config/composer
export COMPOSER_CACHE_DIR=$HOME/.cache/composer
# go
export GOPATH=$HOME/.local/share/go
export GOMODCACHE=$HOME/.cache/go/mod
# mysql
export MYSQL_HISTFILE=$HOME/.local/state/mysql_history
# node
export NODE_REPL_HISTORY=$HOME/.local/state/node_repl_history
# psql
export PSQLRC=$HOME/.config/psql/psqlrc
export PSQL_HISTORY=$HOME/.local/state/psql_history
# redis-cli
export REDISCLI_HISTFILE=$HOME/.local/state/rediscli_history