feat: mycli/pgcli

This commit is contained in:
Klesh Wong 2021-09-09 22:11:44 +08:00
parent 0a703d3622
commit 045c636395
2 changed files with 10 additions and 1 deletions

8
devel/my-pg-cli.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
"$PDIR/devel/python.sh"
sudo pip install mycli
sudo pip install pgcli

View File

@ -10,7 +10,8 @@ if in_china; then
# config pip mirror for CHINA # config pip mirror for CHINA
echo " echo "
[global] [global]
index-url = https://mirrors.aliyun.com/pypi/simple #index-url = https://mirrors.aliyun.com/pypi/simple
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
" | sed -r 's/^ *//' | sudo tee "/etc/pip.conf" " | sed -r 's/^ *//' | sudo tee "/etc/pip.conf"
fi fi