Sha256: 1f343718e5a6cd600a04a5423daa459b1c4d53f960d6261861391809919a7b4b
Contents?: true
Size: 693 Bytes
Versions: 2
Compression:
Stored size: 693 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 export rvm_project_rvmrc=0 in $HOME/.rvmrc if [[ ${rvm_project_rvmrc:-1} -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 "$@" local result=$? __rvm_project_rvmrc return $result } fi else cd() { builtin cd "$@" local result=$? __rvm_project_rvmrc return $result } fi fi
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rvm-1.0.9 | scripts/cd |
rvm-1.0.8 | scripts/cd |