Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify and fix issues with RVM and paths.
Use the get-rvm alias that is defined when rvm is missing to ensure no future issues.
- Loading branch information
Showing
9 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,7 @@ if [ -f ~/.profile ]; then | |
. ~/.profile | ||
fi | ||
|
||
# Setup paths | ||
prepend-path $HOME/bin | ||
prepend-path $HOME/.bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/zsh | ||
|
||
if [[ -d $HOME/.rvm ]]; then | ||
PATH=$PATH:$HOME/.rvm/bin | ||
if [[ ! -d $HOME/.rvm ]]; then | ||
alias get-rvm="\curl -sSL https://get.rvm.io | bash -s stable --ignore-dotfiles" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/zsh | ||
|
||
if [[ -z ${path[(r)$1]} ]] ; then | ||
path+=$1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/zsh | ||
|
||
if [[ -z ${path[(r)$1]} ]] ; then | ||
path=( $1 "$path[@]" ) | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,3 @@ unset i | |
unset f | ||
unsetopt NULL_GLOB | ||
unsetopt ALL_EXPORT | ||
|
||
if [ -f ~/.zsh/login ]; then | ||
source ~/.zsh/login | ||
fi | ||
|