Skip to content

Commit 0291125

Browse files
committed
stop using .extra. its possible ill reintroduce it tho
1 parent 78dc6a4 commit 0291125

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

.bash_profile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,15 @@ setupPATH() {
66
while read -r P; do
77
P=`eval echo $P`
88
if [ -d "$P" ]; then
9-
# echo "okay $P"
109
export PATH="$PATH:$P"
1110
fi
1211
# read these files but strip out comments and newlines.
1312
done < <(cat ~/.paths ~/.paths.local 2> /dev/null | grep -v "^#")
1413
}
1514
setupPATH;
1615

17-
# to help sublimelinter etc with finding my PATHS
18-
case $- in
19-
*i*) source ~/.extra
20-
esac
21-
2216
# Load our dotfiles like ~/.bash_prompt, etc…
23-
# ~/.extra can be used for settings you don’t want to commit,
24-
# Use it to configure your PATH, thus it being first in line.
25-
for file in ~/.{extra,bash_prompt,exports,aliases,functions}; do
17+
for file in ~/.{bash_prompt,exports,aliases,functions}; do
2618
[ -r "$file" ] && source "$file"
2719
done
2820
unset file

.exports

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ export BAT_STYLE="changes,header-filename,header-filesize,snip,rule"
4242

4343
export CLOUDSDK_PYTHON=/usr/bin/python3
4444

45+
export GOPATH=$HOME/.go/

.profile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# TODO: I'll clean these up somehow
3+
4+
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
5+
export PATH="$PATH:$HOME/.rvm/bin"
6+
7+
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
8+
9+
export NVM_DIR="$HOME/.nvm"
10+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
11+
. "$HOME/.cargo/env"

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ Lastly, I use `open .` to open Finder from this path. (That's just available nor
6464
* `.gitignore`
6565

6666

67-
### `.extra` for your private configuration
68-
69-
There will be items that don't belong to be committed to a git repo, because either 1) it shoudn't be the same across your machines or 2) it shouldn't be in a git repo. Kick it off like this:
70-
71-
`touch ~/.extra && $EDITOR $_`
72-
73-
I have some EXPORTS, my PATH construction, and a few aliases for ssh'ing into my servers in there.
74-
75-
7667
### Sensible OS X defaults in `.macos`
7768

7869
Mathias's repo is the canonical for this, but you should probably run his or mine after reviewing it.

0 commit comments

Comments
 (0)