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.
1 parent 28a4954 commit 89e60feCopy full SHA for 89e60fe
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