mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-19 08:45:36 +00:00
19 lines
461 B
Bash
19 lines
461 B
Bash
#!/bin/bash
|
|
source /etc/lsb-release
|
|
if [ $# -eq 1 ] && [ $1 == "-h" ]; then
|
|
exit
|
|
fi
|
|
if [ 0 -eq $(id -u) ]; then
|
|
echo Don\'t run this script as root, please.
|
|
echo If it will need permission it will use 'sudo' command.
|
|
else
|
|
if [ $DISTRIB_ID == "ManjaroLinux" ]; then
|
|
echo Install bat
|
|
sudo pacman -S bat
|
|
echo Install kak
|
|
sudo pacman -S kakoune
|
|
echo Install Alacritty
|
|
sudo pacman -S alacritty
|
|
fi
|
|
fi
|
|
|