forked from Integralist/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.localrc
More file actions
executable file
·30 lines (24 loc) · 767 Bytes
/
.localrc
File metadata and controls
executable file
·30 lines (24 loc) · 767 Bytes
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
#!/usr/bin/env bash
# environment
#
export PATH="$PATH:$HOME/.rvm/bin"
export PATH="$HOME/.pyenv/shims:$PATH"
export GOPRIVATE=github.com/fastly
# ensure fnm supports yarn
# https://github.com/Schniz/fnm/issues/87#issuecomment-751366346
#
export YARN_GLOBAL_FOLDER="$FNM_MULTISHELL_PATH/yarn-global"
export YARN_PREFIX="$FNM_MULTISHELL_PATH"
# configure python environment
#
eval "$(python3 -m pip completion --bash)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# configure ruby environment
#
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# to ensure there are no duplicates in the $PATH we call dedupe
# the dedupe function is defined in .bashrc
#
dedupe
echo .localrc loaded