Compare commits

..

2 Commits

Author SHA1 Message Date
Marcin Woźniak
c1da970a67 Changed default --user in pip instllaters 2022-10-05 08:14:30 +02:00
Marcin Woźniak
e701f1bba0 Added two functions update_pip and install_ansible 2022-10-05 08:14:09 +02:00

View File

@ -17,6 +17,10 @@ function command_start() {
timestamp "Command $* has been ended." timestamp "Command $* has been ended."
} }
function update_pip() {
python3 -m pip install --upgrade pip --user
}
function install_pyright() { function install_pyright() {
# Install pyright # Install pyright
sudo npm -g i pyright --force sudo npm -g i pyright --force
@ -49,11 +53,16 @@ function install_gopls() {
function install_black() { function install_black() {
# Install black # Install black
pip install black pip install black --user
pip3 install black pip3 install black --user
}
function install_ansible() {
pip3 install --pre --user ansible ansible-lint ansible-core
} }
function main() { function main() {
command_start update_pip
command_start install_pyright command_start install_pyright
command_start install_bash-language-server command_start install_bash-language-server
command_start install_yaml-language-server command_start install_yaml-language-server
@ -61,6 +70,7 @@ function main() {
command_start install_shfmt command_start install_shfmt
command_start install_gopls command_start install_gopls
command_start install_black command_start install_black
command_start install_ansible
} }
main main