summaryrefslogtreecommitdiff
path: root/plugins/poetry/poetry.plugin.zsh
diff options
context:
space:
mode:
authorbaltic-tea <97766478+baltic-tea@users.noreply.github.com>2024-06-11 02:45:09 +0300
committerGitHub <noreply@github.com>2024-06-10 16:45:09 -0700
commitb7e05f136640678539f90e0fa32475bd12c8d930 (patch)
treeefaf619b96aab7b8f0a77d5e94ca808e7325b3ed /plugins/poetry/poetry.plugin.zsh
parent6ffdf8e008bb1bb052afdb56684917075424a056 (diff)
downloadzsh-b7e05f136640678539f90e0fa32475bd12c8d930.tar.gz
zsh-b7e05f136640678539f90e0fa32475bd12c8d930.tar.bz2
zsh-b7e05f136640678539f90e0fa32475bd12c8d930.zip
feat(poetry): add aliases (#11858)
Diffstat (limited to 'plugins/poetry/poetry.plugin.zsh')
-rw-r--r--plugins/poetry/poetry.plugin.zsh28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/poetry/poetry.plugin.zsh b/plugins/poetry/poetry.plugin.zsh
index cebcb46c4..fe6a0f7ed 100644
--- a/plugins/poetry/poetry.plugin.zsh
+++ b/plugins/poetry/poetry.plugin.zsh
@@ -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