Keep PATH in .profile
a8b12993af76cd6c2ab90f075569195bd68e3cdb
This way it's accessible even with /bin/sh
1 parent
9ddd2161
.profile
+1 -1
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | ||
| 3 | 3 | eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa) |
|
| 4 | - | ||
| 4 | + | export PATH=~/bin:~/.cabal/bin:$PATH |
.zshenv
+2 -1
| 1 | 1 | ## |
|
| 2 | 2 | # cloudhead - .zshenv |
|
| 3 | 3 | # |
|
| 4 | 4 | ||
| 5 | - | export PATH=~/bin:~/.cabal/bin:$PATH |
|
| 5 | + | [ -f ~/.profile ] && source ~/.profile |
|
| 6 | + | ||
| 6 | 7 | export VISUAL=vim |
|
| 7 | 8 | export GOPATH=~ |
|
| 8 | 9 | ||
| 9 | 10 | if command -v nvim >/dev/null 2>&1; then |
|
| 10 | 11 | export EDITOR=nvim |