rbenv: fix redirect in current_gemset

Fixes #8925
Related #4688
This commit is contained in:
Marc Cornellà 2020-05-23 19:03:49 +02:00
parent 7c9c148ec2
commit 3f245edf1b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if [[ $FOUND_RBENV -eq 1 ]]; then
}
function current_gemset() {
echo "$(rbenv gemset active 2&>/dev/null | sed -e ":a" -e '$ s/\n/+/gp;N;b a' | head -n1)"
echo "$(rbenv gemset active 2>/dev/null | sed -e ":a" -e '$ s/\n/+/gp;N;b a' | head -n1)"
}
function gems() {