From 5a6408ea1e18bb3aec24c1f7b47d28786d7d2efe Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 25 Jan 2022 16:10:15 +0800 Subject: [PATCH] Add python poetry to env zsh --- zsh/env.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/env.zsh b/zsh/env.zsh index 3ed8162..fcfba2a 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -43,6 +43,12 @@ if [[ -d $HOME/.pyenv ]]; then fi fi +if [[ -d $HOME/.poetry ]]; then + # poetry + export POETRY_ROOT="$HOME/.poetry/bin" + export PATH="$POETRY_ROOT:$PATH" +fi + if [[ -d /home/linuxbrew/.linuxbrew ]]; then eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) fi