Virtualenv.tcsh
Python virtualenv activate and deactivate scripts for tcsh
Install / Use
/learn @andywhite37/Virtualenv.tcshREADME
Python virtualenv activation and deactivation scripts for tcsh
By default, these scripts assume that they have been be copied into ~/bin/, but this can be customized if necessary.
To run these scripts, navigate to your virtualenv root directory, and run:
source ~/bin/activate.tcsh
or:
source ~/bin/deactivate.tcsh
You can alternatively run:
source ~/bin/activate.tcsh /path/to/virtualenv/root
to activate a virtualenv from anywhere.
Note: these scripts do not mess with the prompt. Scripts assume that the prompt is properly handled in the .tcshrc file (using VIRTUAL_ENV environment variable).
Here is an example for setting up the prompt to show the current VIRTUAL_ENV:
set black = '%{\033[30m%}' set red = '%{\033[31m%}' set green = '%{\033[32m%}' set yellow = '%{\033[33m%}' set blue = '%{\033[34m%}' set magenta = '%{\033[35m%}' set cyan = '%{\033[36m%}' set white = '%{\033[37m%}' set nocolor = '%{\033[0m%}'
if ( $?VIRTUAL_ENV ) then
set VESTR = basename $VIRTUAL_ENV
else
set VESTR = "-- NONE --"
endif
set prompt = "[${red}%n@%m${nocolor}][${green}${VESTR}${nocolor}][${cyan}%~${nocolor}][${yellow}%h${nocolor}]>%b "
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Jun 13, 2025
