-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bashrc.tmpl
57 lines (40 loc) · 1.52 KB
/
dot_bashrc.tmpl
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
#!/bin/bash
{{- if eq .chezmoi.hostname "homerocky9" }}
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
{{- end }}
# Load bash completion scripts (if any)
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
export XDG_CONFIG_HOME=$HOME/.config
# Load shell dotfiles, and then some:
echo "Loading custom bash config"
for file in ${XDG_CONFIG_HOME}/bash/{path,exports,sources,aliases,functions,extra}.sh; do
[ -r "$file" ] && [ -f "$file" ] && source "$file"
done
unset file
# Check the window size after each command and, if necessary, update the values of LINES and COLUMNS
shopt -s checkwinsize
# Causes bash to append to history instead of overwriting it so if you start a new terminal, you have old session history
shopt -s histappend
PROMPT_COMMAND='history -a'
{{- if eq .chezmoi.hostname "homerocky9" }}
. "$HOME/.cargo/env"
source /home/amenrio/lab/build/alacritty/extra/completions/alacritty.bash
# REZ
export PATH=$PATH:/home/andres.mendez/sandbox/rez/bin/rez
#GOLANG
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/opt/blender/4.1.1/
# Pythonpaths modifications
export PYTHONPATH=$PYTHONPATH:$HOME/work/tools/studio/stickers/release/maya/scripts
# Maya Module Path modifications
export MAYA_MODULE_PATH=$MAYA_MODULE_PATH:$HOME/repos/antaruxa/tools/studio/anta_stickers/release/maya
{{- end }}
eval "$(starship init bash)"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash