mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
11 lines
No EOL
242 B
Bash
11 lines
No EOL
242 B
Bash
function wo() {
|
|
[ -f './.venv' ] && workon `cat ./.venv`
|
|
}
|
|
alias deact='deactivate'
|
|
alias cdv='cd $WORKON_HOME'
|
|
|
|
function cdp () {
|
|
cd "$(python -c "import os.path as _, ${1}; \
|
|
print _.dirname(_.realpath(${1}.__file__[:-1]))"
|
|
)"
|
|
} |