-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbashrc
More file actions
39 lines (32 loc) · 1.1 KB
/
bashrc
File metadata and controls
39 lines (32 loc) · 1.1 KB
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
#!/bin/bash
## don't read bashrc if session is not interactive
[ -z "$PS1" ] && return
echo "Loading bashrc"
if [ -f ~/.bashrc_local/bashrc_local_before.sh ]; then
source ~/.bashrc_local/bashrc_local_before.sh
fi
source ~/.bash/functions.sh
source ~/.bash/settings.sh
source ~/.bash/aliases.sh
source ~/.bash/exports.sh
if [ -f ~/.bashrc_local/bashrc_local_after.sh ]; then
source ~/.bashrc_local/bashrc_local_after.sh
fi
pathDeduplicate
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/kartik/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/kartik/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/kartik/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/kartik/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion