mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Add the dev null redirect missed in #140
This commit is contained in:
parent
c6d8357a91
commit
b579292c22
@ -586,9 +586,9 @@ function __bobthefish_rvm_info -S -d 'Current Ruby information from RVM'
|
||||
# look for rvm install path
|
||||
set -q rvm_path
|
||||
or set -l rvm_path ~/.rvm /usr/local/rvm
|
||||
|
||||
|
||||
# More `sed`/`grep`/`cut` magic...
|
||||
set -l __rvm_default_ruby (grep GEM_HOME $rvm_path/environments/default | sed -e"s/'//g" | sed -e's/.*\///')
|
||||
set -l __rvm_default_ruby (grep GEM_HOME $rvm_path/environments/default ^/dev/null | sed -e"s/'//g" | sed -e's/.*\///')
|
||||
set -l __rvm_current_ruby (rvm-prompt i v g)
|
||||
[ "$__rvm_default_ruby" = "$__rvm_current_ruby" ]; and return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user