From ecf1af6228b3d8ed7dde3304124645b2bc2980d3 Mon Sep 17 00:00:00 2001 From: Peter Armstrong Date: Mon, 22 Sep 2014 09:45:55 +0100 Subject: [PATCH] rvm plugin fix #217 - removed extra | --- plugins/rvm/rvm.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rvm/rvm.fish b/plugins/rvm/rvm.fish index a6e0752..cbbd0de 100644 --- a/plugins/rvm/rvm.fish +++ b/plugins/rvm/rvm.fish @@ -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