-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbashrc_local.gamma
63 lines (52 loc) · 2.05 KB
/
bashrc_local.gamma
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
# ~/.bashrc_local
alias ls='ls --color -F'
# Configure Ansible
export ANSIBLE_CONFIG="${HOME}/ops/ansible/ansible.cfg"
# Configure the z directory jumper
if [ -f ~/w/z/z.sh ]; then
source ~/w/z/z.sh
fi
# Configure Go
export GOPATH=${HOME}/go
export PATH="${PATH}:${GOPATH}/bin"
# Configure keychain
#eval $(keychain --eval --agents ssh id_rsa)
# CUDA paths
# https://docs.nvidia.com/cuda/cuda-quick-start-guide/
export PATH="/usr/local/cuda/bin${PATH:+:${PATH}}"
export LD_LIBRARY_PATH="/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
# Homebrew (from `/home/linuxbrew/.linuxbrew/bin/brew shellenv`)
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew";
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar";
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew";
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}";
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}";
# bash completions from brew commands
# TODO: Generalize with $(brew --prefix)
if [ -d "/home/linuxbrew/.linuxbrew/etc/bash_completion.d" ]; then
for bcfile in /home/linuxbrew/.linuxbrew/etc/bash_completion.d/* ; do
. ${bcfile}
done
fi
# Configure nvm
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
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/luis/miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/luis/miniforge3/etc/profile.d/conda.sh" ]; then
. "/home/luis/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/home/luis/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
if [ -f "/home/luis/miniforge3/etc/profile.d/mamba.sh" ]; then
. "/home/luis/miniforge3/etc/profile.d/mamba.sh"
fi
# <<< conda initialize <<<