-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
45 lines (33 loc) · 1.21 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env bash
#shellcheck disable=SC2016,SC2230
EDITOR=$(which nvim || which vim)
GIT_EDITOR=$EDITOR
export EDITOR
export GIT_EDITOR
# Indicates which terminal i3-sensible-terminal should try to spawn first
if [ "$(uname)" = "Linux" ]; then
export TERMINAL=alacritty
fi
# Use United States English
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
export PAGER=less
if [ "$(uname)" = 'FreeBSD' ]; then
export CCACHE_DIR="$HOME/.ccache"
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
elif [ -r "$HOME/.dircolors" ] && [ "$(uname)" != "Darwin" ]; then
eval "$(dircolors -b "$HOME/.dircolors")"
fi
if [ "$(uname)" = 'Darwin' ]; then
export BASH_SILENCE_DEPRECATION_WARNING=1
fi
#export FZF_DEFAULT_COMMAND='fd --type file'
#FZF_HOME_DETECT='$([ "${PWD}" = "${HOME}" ] && echo "${HOME}" || echo ". ${HOME}")'
#export FZF_ALT_C_COMMAND="fd -p -t d . $FZF_HOME_DETECT"
#export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND . $HOME"
#export FZF_CTRL_T_OPTS="--preview='head -n\$FZF_PREVIEW_LINES {}'"
export FZF_DEFAULT_OPTS="--color='fg:-1,preview-fg:-1,bg+:-1,prompt:6,pointer:14,hl:13,info:13,hl+:13'"
export BROSWER="firefox"
# Important.
export ANSIBLE_COW_SELECTION=milk
export ASSET_DIR="${HOME}/art/assets"