mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-15 17:16:20 +08:00
rvm plugin fix #217 - removed extra |
This commit is contained in:
parent
eca1617841
commit
ecf1af6228
@ -7,7 +7,7 @@ function rvm -d 'Ruby enVironment Manager'
|
||||
# exclude lines with _clr and _debug
|
||||
# apply rvm_* *PATH RUBY_* GEM_* variables from the captured environment
|
||||
|
||||
and eval (grep '^rvm\|^[^=]*PATH\|^RUBY_\|^GEM_' $env_file |grep -v _clr| |grep -v _debug| sed '/^[^=]*PATH/y/:/ /; s/^/set -xg /; s/=/ /; s/$/ ;/; s/(//; s/)//')
|
||||
and eval (grep '^rvm\|^[^=]*PATH\|^RUBY_\|^GEM_' $env_file |grep -v _clr |grep -v _debug| sed '/^[^=]*PATH/y/:/ /; s/^/set -xg /; s/=/ /; s/$/ ;/; s/(//; s/)//')
|
||||
|
||||
# clean up
|
||||
rm -f $env_file
|
||||
|
Loading…
x
Reference in New Issue
Block a user