# RVM profile # # /etc/profile.d/rvm.sh # sh extension required for loading. # if [ -n "${BASH_VERSION:-}" -o -n "${ZSH_VERSION:-}" ] && test "`ps -p $$ -o comm=`" != dash && test "`ps -p $$ -o comm=`" != sh then : rvm_stored_umask:${rvm_stored_umask:=$(umask)} # Load user rvmrc configurations, if exist for file in "/etc/rvmrc" "$HOME/.rvmrc" do [[ -s "$file" ]] && source $file done if [[ -n "${rvm_prefix:-}" ]] && [[ -s "${rvm_prefix}/.rvmrc" ]] && [[ ! "$HOME/.rvmrc" -ef "${rvm_prefix}/.rvmrc" ]] then source "${rvm_prefix}/.rvmrc" fi # Load RVM if it is installed, try user then root install. if [[ -s "$rvm_path/scripts/rvm" ]] then source "$rvm_path/scripts/rvm" elif [[ -s "$HOME/.rvm/scripts/rvm" ]] then true ${rvm_path:="$HOME/.rvm"} source "$HOME/.rvm/scripts/rvm" elif [[ -s "/usr/local/rvm/scripts/rvm" ]] then true ${rvm_path:="/usr/local/rvm"} source "/usr/local/rvm/scripts/rvm" fi # Opt-in for custom prompt through by setting: # rvm_ps1=1 # in either /etc/rvmrc or $HOME/.rvmrc if [[ ${rvm_ps1:-0} -eq 1 ]] then # Source RVM ps1 functions for a great prompt. if [[ -s "$rvm_path/contrib/ps1_functions" ]] then source "$rvm_path/contrib/ps1_functions" elif [[ -s "/usr/local/rvm/contrib/ps1_functions" ]] then source "/usr/local/rvm/contrib/ps1_functions" fi if command -v ps1_set >/dev/null 2>&1 then ps1_set fi fi # Add $rvm_bin_path to $PATH if necessary [[ "${rvm_bin_path}" == "${rvm_path}/bin" || ":${PATH}:" =~ ":${rvm_ +bin_path}:" ]] || __rvm_add_to_path prepend "${rvm_bin_path}" fi

In reply to Re^2: sourcing the csh script issue by Anonymous Monk
in thread sourcing the csh script issue by lpl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.