From 994b428410ad903a953e9810e71f4ccae2ecf695 Mon Sep 17 00:00:00 2001 From: Bill Nibz Date: Sat, 14 Oct 2017 15:19:42 -0400 Subject: [PATCH] bashrc: Add /data/data/com.termux/files/home/bin to path --- bash/bashrc-remote | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bash/bashrc-remote b/bash/bashrc-remote index 9e7644c..d3c71ee 100644 --- a/bash/bashrc-remote +++ b/bash/bashrc-remote @@ -43,8 +43,14 @@ function show_git_info(){ #=============================================================================== # Path #=============================================================================== -# rbenv -PATH="$HOME/.rbenv/bin:$PATH" +# Ruby Gems +if which ruby >/dev/null && which gem >/dev/null; then + PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH" +fi +# RVM +PATH="$HOME/.rvm/bin:$PATH" +# Custom stuff +PATH="$HOME/bin:$PATH" # Add Python to path PYTHONPATH="${PYTHONPATH}" export PYTHONPATH