Sha256: 9def46ac778458d691e9e3b7af125c40590485e4e158b3d483ec14a7c4a99bad
Contents?: true
Size: 713 Bytes
Versions: 5
Compression:
Stored size: 713 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 rvm_project_rvmrc=${rvm_project_rvmrc:-1} 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rvm-1.0.7 | scripts/cd |
rvm-1.0.6 | scripts/cd |
rvm-1.0.5 | scripts/cd |
rvm-1.0.4 | scripts/cd |
rvm-1.0.3 | scripts/cd |