-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrc.common
60 lines (45 loc) · 1.38 KB
/
rc.common
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env zsh
export HOMESHICK_REPOS=$HOME/.homesick/repos
rcfiles=$HOMESHICK_REPOS/runcom
system=`$rcfiles/utils/system`
# Ensure languages are set
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export EDITOR='nvim'
export VISUAL='vim'
export PAGER='less'
export LESS='-F -g -i -M -R -S -w -X -z-4'
export VIRTUAL_ENV_DISABLE_PROMPT=1
export FORTUNE_PATH=$HOMESHICK_REPOS/adages/adages:$HOME/.adages
export GOPATH=$HOME/go
export NVM_DIR="$HOME/.nvm"
export FZF_DEFAULT_COMMAND='ag -g ""'
# See https://github.com/rbong/gruvbox for colors
export FZF_DEFAULT_OPTS='
--reverse --height=100% --inline-info
--color fg:246,bg:235,hl:124,fg+:106,bg+:237,hl+:124
--color info:208,prompt:108,spinner:142,pointer:166,marker:214
'
export CHEAT_COLORS=1
export CHEAT_COLORSCHEME=dark
export PATH=$PATH:$GOPATH/bin:$HOME/bin:$HOME/.fzf/bin:$HOME/.cargo/bin
# Source more environment variables
source $rcfiles/localenv
# Source local settings
if [ -f ~/.localenv ]; then
. ~/.localenv
fi
# Create tmp dir
if [[ ! -d $RUNCOM_TMPDIR ]]; then
mkdir -p $RUNCOM_TMPDIR
fi
# Source optional additional settings
if [[ -f $HOMESHICK_REPOS/pruncom/rc.pruncom ]]; then
source $HOMESHICK_REPOS/pruncom/rc.pruncom
fi
# Activate homeshick - git dotfile synchronizer
source $HOMESHICK_REPOS/homeshick/homeshick.sh
# Activate pyenv
. "$rcfiles/rc.pyenv"