|
setenv CONDA_EXE "/home/simon/prog/text-generation-webui/installer_files/conda/bin/conda" |
|
setenv _CONDA_ROOT "/home/simon/prog/text-generation-webui/installer_files/conda" |
|
setenv _CONDA_EXE "/home/simon/prog/text-generation-webui/installer_files/conda/bin/conda" |
|
setenv CONDA_PYTHON_EXE "/home/simon/prog/text-generation-webui/installer_files/conda/bin/python" |
|
|
|
|
|
|
|
if (! $?_CONDA_EXE) then |
|
set _CONDA_EXE="${PWD}/conda/shell/bin/conda" |
|
else |
|
if ("$_CONDA_EXE" == "") then |
|
set _CONDA_EXE="${PWD}/conda/shell/bin/conda" |
|
endif |
|
endif |
|
|
|
if ("`alias conda`" == "") then |
|
if ($?_CONDA_EXE) then |
|
|
|
|
|
set _CONDA_PFX=`dirname "${_CONDA_EXE}"` |
|
set _CONDA_PFX=`dirname "${_CONDA_PFX}"` |
|
alias conda source "${_CONDA_PFX}/etc/profile.d/conda.csh" |
|
|
|
unset _CONDA_PFX |
|
else |
|
alias conda source "${PWD}/conda/shell/etc/profile.d/conda.csh" |
|
endif |
|
setenv CONDA_SHLVL 0 |
|
if (! $?prompt) then |
|
set prompt="" |
|
endif |
|
else |
|
switch ( "${1}" ) |
|
case "activate": |
|
set ask_conda="`(setenv prompt '${prompt}' ; '${_CONDA_EXE}' shell.csh activate '${2}' ${argv[3-]})`" |
|
set conda_tmp_status=$status |
|
if( $conda_tmp_status != 0 ) exit ${conda_tmp_status} |
|
eval "${ask_conda}" |
|
rehash |
|
breaksw |
|
case "deactivate": |
|
set ask_conda="`(setenv prompt '${prompt}' ; '${_CONDA_EXE}' shell.csh deactivate '${2}' ${argv[3-]})`" |
|
set conda_tmp_status=$status |
|
if( $conda_tmp_status != 0 ) exit ${conda_tmp_status} |
|
eval "${ask_conda}" |
|
rehash |
|
breaksw |
|
case "install" | "update" | "upgrade" | "remove" | "uninstall": |
|
$_CONDA_EXE $argv[1-] |
|
set ask_conda="`(setenv prompt '${prompt}' ; '${_CONDA_EXE}' shell.csh reactivate)`" |
|
set conda_tmp_status=$status |
|
if( $conda_tmp_status != 0 ) exit ${conda_tmp_status} |
|
eval "${ask_conda}" |
|
rehash |
|
breaksw |
|
default: |
|
$_CONDA_EXE $argv[1-] |
|
breaksw |
|
endsw |
|
endif |
|
|