-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbashrc_local.gamma
More file actions
44 lines (35 loc) · 1.46 KB
/
bashrc_local.gamma
File metadata and controls
44 lines (35 loc) · 1.46 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
40
41
42
43
44
# ~/.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