Sha256: 54a8813b1546a1aa01d3003c2fe1af228eb3afdaec212557a8b65a6eaab7678c
Contents?: true
Size: 666 Bytes
Versions: 7
Compression:
Stored size: 666 Bytes
Contents
#!/usr/bin/env bash # Source a .rvmrc file in a directory after changing to it, if it exists. # To disable this fature, set rvm_project_rvmrc=0 in $HOME/.rvmrc if [[ "$rvm_project_rvmrc" -ne 0 ]] ; then if [[ -n "$ZSH_VERSION" ]]; then autoload is-at-least if is-at-least 4.3.4 >/dev/null 2>&1; then # On zsh, use chpwd_functions chpwd_functions=( "${chpwd_functions[@]}" __rvm_project_rvmrc ) else cd() { builtin cd "$@" result=$? __rvm_project_rvmrc return $result } fi else cd() { builtin cd "$@" result=$? __rvm_project_rvmrc return $result } fi fi
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
rvm-1.0.2 | scripts/cd |
rvm-1.0.1 | scripts/cd |
rvm-1.0.0 | scripts/cd |
rvm-0.1.47 | scripts/cd |
rvm-0.1.46 | scripts/cd |
rvm-0.1.45 | scripts/cd |
rvm-0.1.44 | scripts/cd |