HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/scripts/completion
#!/usr/bin/env bash


if
  [[ -n "${ZSH_VERSION:-}" ]]
then
  # zsh completion for Ruby Version Manager (RVM), thanks to https://github.com/JoeKun
  [[ " ${fpath[*]} " == *" ${rvm_scripts_path:-$rvm_path/scripts}/extras/completion.zsh "* ]] ||
  {
    fpath+=( "${rvm_scripts_path:-$rvm_path/scripts}/extras/completion.zsh" )
    if
      [[ -n "${_comp_dumpfile:-}" ]]
    then
      \command \rm -f "$_comp_dumpfile"
      compinit -d "$_comp_dumpfile"
    fi
  }
elif
  [[ -n "${BASH_VERSION:-}" ]]
then
  # bash completion for Ruby Version Manager (RVM)
  source "${rvm_scripts_path:-$rvm_path/scripts}/extras/completion.bash"
  complete -o default -F _rvm rvm
else
  echo "RVM does not currently support completion in your shell."
fi