We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9dd6f67 + 89e60fe commit 9888930Copy full SHA for 9888930
language_package.sh
@@ -98,6 +98,8 @@ export PATH="$PYENV_ROOT/bin:$PATH"
98
if command -v pyenv 1>/dev/null 2>&1; then
99
eval "$(pyenv init -)"
100
fi'
101
+pipenv_Keyword='export PATH=~/.local/bin:$PATH'
102
+
103
case $SHELL in
104
*zsh )
105
shell=zsh
@@ -132,7 +134,13 @@ fi
132
134
133
135
Ask_yn "Do you want to install pipenv?"; result=$?
136
if [ $result = 1 ]; then
- pip install pipenv
137
+ pip install --user pipenv
138
+ if [ "$(grep -xn "$pipenv_Keyword" $profile)" != "" ]; then
139
+ Echo_Color g "You have already added pipenv PATH in $profile !!"
140
+ else
141
+ # config profile
142
+ printf "\n# pipenv setting\n$pipenv_Keyword\n" >> $profile
143
+ fi
144
fi
145
146
Ask_yn "Do you want to install nvm?"; result=$?
0 commit comments