From e701f1bba028cdf1e62182c52b222fc0951ff840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Wed, 5 Oct 2022 08:14:09 +0200 Subject: [PATCH] Added two functions `update_pip` and `install_ansible` --- .config/nvim/installer.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/nvim/installer.sh b/.config/nvim/installer.sh index f6d63ee..d318b34 100755 --- a/.config/nvim/installer.sh +++ b/.config/nvim/installer.sh @@ -17,6 +17,10 @@ function command_start() { timestamp "Command $* has been ended." } +function update_pip() { + python3 -m pip install --upgrade pip --user +} + function install_pyright() { # Install pyright sudo npm -g i pyright --force @@ -51,9 +55,12 @@ function install_black() { # Install black pip install black pip3 install black +function install_ansible() { + pip3 install --pre --user ansible ansible-lint ansible-core } function main() { + command_start update_pip command_start install_pyright command_start install_bash-language-server command_start install_yaml-language-server @@ -61,6 +68,7 @@ function main() { command_start install_shfmt command_start install_gopls command_start install_black + command_start install_ansible } main