-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenv
44 lines (38 loc) · 1.86 KB
/
env
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
# ===========================================================================
# Initial config
# ===========================================================================
export PROJECT_HOME=$HOME/gitdisk/projects
# ===========================================================================
# GOTO tool: TODO: Move it to XDG_DATA_HOME later
# ===========================================================================
export GOTO_DATA_PATH="$PROJECT_HOME/goto-clj"
# ===========================================================================
# So that shells don't cry
# ===========================================================================
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# ===========================================================================
# Default XDG configs
# Source: https://wiki.archlinux.org/index.php/XDG_Base_Directory
# ===========================================================================
export XDG_CONFIG_HOME=$PROJECT_HOME/config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.data
export XDG_RUNTIME_DIR=$HOME/.runtime
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_CONFIG_DIRS=/etc/xdg
# ===========================================================================
# Default editor
# ===========================================================================
export EDITOR=nvim
export VISUAL=nvim
# ===========================================================================
# Make FZF ignore certain files
# ===========================================================================
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow -g "!{node_modules/*,.git/*,bin/*}"'
# ===========================================================================
# Golang
# ===========================================================================
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
ulimit -n 8096