-
Notifications
You must be signed in to change notification settings - Fork 7
/
.profile
40 lines (33 loc) · 1.07 KB
/
.profile
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
# vim all the things
export EDITOR="nvim"
export VISUAL="$EDITOR"
# utf-8 all the things
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# make sure we know the right cpu architecture
# used to set HOMEBRWE_PREFIX, PYENV_ROOT and other environment variables
export ARCH="$(uname -p)"
# Case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
# Long history without duplicates, flush after every command
export HISTCONTROL=ignoreboth
export HISTSIZE=1000000
# directly save every command to history
shopt -s histappend
if [ "x$PROMPT_COMMAND" != "x" ]; then
export PROMPT_COMMAND="$PROMPT_COMMAND;"
fi
export PROMPT_COMMAND="$PROMPT_COMMAND history -a; history -n" # preserve other PROMPT_COMMAND stuff!
source ~/.profile.d/credentials
source ~/.profile.d/aliases
source ~/.profile.d/functions
source ~/.profile.d/prompt
source ~/.profile.d/homebrew
source ~/.profile.d/pyenv
source ~/.profile.d/rbenv
source ~/.profile.d/nodenv
source ~/.profile.d/tfenv
source ~/.profile.d/path
source ~/.profile.d/direnv
source ~/.profile.d/google-cloud-sdk
source ~/.profile.d/fzf