-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
27 lines (22 loc) · 961 Bytes
/
.exports
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
# .exports
export HISTCONTROL=ignoredups
export HISTFILE=~/.zsh_history
export HISTSIZE=50000000
export HISTFILESIZE=$HISTSIZE
export HISTTIMEFORMAT="%F %T %t"
export STARSHIP_CONFIG=$HOME/.starship.toml
export XDG_CACHE_HOME=$HOME/.cache # user-specific non-essential (cached) data (analogous to /var/cache)
export XDG_CONFIG_HOME=$HOME/.config # user-specific configurations (analogous to /etc)
export XDG_DATA_HOME=$HOME/.local/share # user-specific data files (analogous to /usr/share)
export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20
# system type
if [ $(uname -s) = 'Darwin' ]; then
export LSCOLORS="Gxfxcxdxbxegedabagacad"
export SYSTEM_TYPE="MacOS"
elif [ $(uname -s) = 'Linux' ] && [ -f /etc/debian_version ]; then
export SYSTEM_TYPE="Linux (Debian)"
elif [ $(uname -s) = 'Linux' ] && [ -f /etc/redhat-release ]; then
export SYSTEM_TYPE="Linux (RedHat)"
fi
export EDITOR="vim"