-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.environment_vars.sh
40 lines (30 loc) · 1.22 KB
/
.environment_vars.sh
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
# fzf
# https://github.com/jethrokuan/fzf#commands
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
export FZF_FIND_FILE_COMMAND='ag --hidden --ignore .git -g ""'
export FZF_CD_COMMAND='ag --hidden --ignore .git -g ""'
export FZF_CD_WITH_HIDDEN_COMMAND='ag --hidden --ignore .git -g ""'
# https://github.com/b4b4r07/enhancd#configurations
export ENHANCD_DISABLE_DOT=1
# BREW
export HOMEBREW_PREFIX=/opt/homebrew
#
# XDG
#
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
# https://golang.org/pkg/os/#UserConfigDir
# Darwin
export XDG_CONFIG_HOME=$HOME/.config # $HOME/Library/Preferences (helm) $HOME/Library/Application Support (doctl)
export XDG_DATA_HOME=$HOME/.local/share # $HOME/Library
export XDG_CACHE_HOME=$HOME/.cache # $HOME/Library/Caches
# ASDF XDG
# defaults to $HOME/.asdfrc
export ASDF_CONFIG_FILE=$XDG_CONFIG_HOME/asdf/.asdfrc
# messes up asdf local and global commands, setting to the default for now
# export ASDF_DATA_DIR=$XDG_DATA_HOME/asdf
export ASDF_DATA_DIR=$HOME/.asdf
# GnuPG
# export GNUPGHOME=$XDG_DATA_HOME/gnupg
# Docker
# export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
source $DOTFILES_HOME/_private/vars.sh