mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 02:02:32 +01:00
feat(poetry): add aliases (#11858)
This commit is contained in:
parent
6ffdf8e008
commit
b7e05f1366
2 changed files with 61 additions and 0 deletions
|
|
@ -1,3 +1,31 @@
|
|||
alias pad='poetry add'
|
||||
alias pbld='poetry build'
|
||||
alias pch='poetry check'
|
||||
alias pcmd='poetry list'
|
||||
alias pconf='poetry config --list'
|
||||
alias pexp='poetry export --without-hashes > requirements.txt'
|
||||
alias pin='poetry init'
|
||||
alias pinst='poetry install'
|
||||
alias plck='poetry lock'
|
||||
alias pnew='poetry new'
|
||||
alias ppath='poetry env info --path'
|
||||
alias pplug='poetry self show plugins'
|
||||
alias ppub='poetry publish'
|
||||
alias prm='poetry remove'
|
||||
alias prun='poetry run'
|
||||
alias psad='poetry self add'
|
||||
alias psh='poetry shell'
|
||||
alias pshw='poetry show'
|
||||
alias pslt='poetry show --latest'
|
||||
alias psup='poetry self update'
|
||||
alias psync='poetry install --sync'
|
||||
alias ptree='poetry show --tree'
|
||||
alias pup='poetry update'
|
||||
alias pvinf='poetry env info'
|
||||
alias pvoff='poetry config virtualenvs.create false'
|
||||
alias pvrm='poetry env remove'
|
||||
alias pvu='poetry env use'
|
||||
|
||||
# Return immediately if poetry is not found
|
||||
if (( ! $+commands[poetry] )); then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue