1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

install-packages colorized

This commit is contained in:
lunax 2020-10-12 11:06:16 +02:00
parent b0993b6dca
commit 6bfd6eb084

View file

@ -1,5 +1,8 @@
#!/bin/bash
source /etc/lsb-release
function echoGreen(){
echo -e "\e[32m"$1"\e[0m"
}
if [ $# -eq 1 ] && [ $1 == "-h" ]; then
exit
fi
@ -9,13 +12,13 @@ if [ 0 -eq $(id -u) ]; then
else
if [ $DISTRIB_ID == "ManjaroLinux" ]; then
install_command='pacman -S --needed'
echo Install bat
echoGreen "Installing bat"
sudo $install_command bat
echo Install kak
echoGreen "Installing kak"
sudo $install_command kakoune
echo Install Alacritty
echoGreen "Installing Alacritty"
sudo $install_command alacritty
echo Install HTTPie
echoGreen "Installing HTTPie"
sudo $install_command httpie
fi
fi