-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
78 lines (61 loc) · 1.88 KB
/
.bashrc
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# OSX considers all terminals login shells
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
case "${OSTYPE}" in
darwin*)
# OSX/BSD/Darwin color ls
export CLICOLOR=1
# Default OSX/BSD/Darwin colors are exfxcxdxbxegedabagacad
# Change dirs to bold cyan so they show better on dark backgrounds
export LSCOLORS='Exfxcxdxbxegedabagacad'
;;
linux*)
alias ls='ls --color=auto'
;;
esac
HISTTIMEFORMAT="%Y-%m-%dT%H:%M:%S %z "
export GREP_OPTIONS='--color=auto'
PS1="$(~/.bash_prompt) "
export PS1
if [ -e '/usr/local/scala-2.11.12/bin' ]; then
export PATH="${PATH}":'/usr/local/scala-2.11.12/bin'
fi
if [ -e '/usr/local/scala-2.13.1/bin' ]; then
export PATH="${PATH}":'/usr/local/scala-2.13.1/bin'
fi
if [ -e '/usr/local/apache-ant-1.10.7/bin' ]; then
export PATH="${PATH}":'/usr/local/apache-ant-1.10.7/bin'
fi
if [ -e '/Applications/Docker.app/Contents/Resources/bin' ]; then
export PATH="${PATH}":'/Applications/Docker.app/Contents/Resources/bin'
fi
if [ -e "$(python3 -m site --user-base)"/bin ]; then
export PATH="${PATH}":"$(python3 -m site --user-base)"/bin
fi
if [ -e "${HOME}"/dev/homebrew/bin ]; then
export PATH="${PATH}":"${HOME}"/dev/homebrew/bin
if [ -e "${HOME}"/dev/homebrew/etc/bash_completion.d ]; then
for f in "${HOME}"/dev/homebrew/etc/bash_completion.d/*; do
source "${f}"
done
fi
fi
if [ -e "${HOME}"/go/bin ]; then
export PATH="${PATH}":"${HOME}"/go/bin
fi
if [ -e "${HOME}"/.bash_profile_local ]; then
source "${HOME}"/.bash_profile_local
fi
if [ -e "${HOME}"/.shell_variables ]; then
source "${HOME}"/.shell_variables
fi
if [ -e "${HOME}"/.bash_completion.d ]; then
export DOCKER_COMPLETION_SHOW_CONTAINER_IDS=yes
for f in "${HOME}"/.bash_completion.d/*; do
source "${f}"
done
fi
alias assume="source assume"
if [ -e "${HOME}"/.rd/bin ]
then
export PATH="${HOME}"/.rd/bin:"${PATH}"
fi