diff --git a/setup/home.txt b/setup/home.txt index 775648b..c35d724 100644 --- a/setup/home.txt +++ b/setup/home.txt @@ -1 +1 @@ -nano flatpak ssh \ No newline at end of file +nano flatpak ssh zsh \ No newline at end of file diff --git a/setup/pgks-install.sh b/setup/pgks-install.sh deleted file mode 100644 index 2dc11b1..0000000 --- a/setup/pgks-install.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -sudo apt install $(cat home.txt) -sudo apt install $(cat work.txt) \ No newline at end of file diff --git a/setup/pkgs-install.sh b/setup/pkgs-install.sh new file mode 100644 index 0000000..447af8a --- /dev/null +++ b/setup/pkgs-install.sh @@ -0,0 +1,2 @@ +#!/bin/bash +sudo apt install $(cat home.txt) -y && sudo apt install $(cat work.txt) -y \ No newline at end of file diff --git a/setup/work.txt b/setup/work.txt index eb466eb..d6601c2 100644 --- a/setup/work.txt +++ b/setup/work.txt @@ -1 +1 @@ -vagrant lnav ranger docker docker-compose \ No newline at end of file +vagrant lnav ranger docker docker-compose vim \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..7897afa --- /dev/null +++ b/start.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +echo -e "What is ur choise?" +echo -e "1 - install only home apps" +echo -e "2 - install only work apps" +echo -e "3 - download and inpack config files in $HOME (.zsh)" +echo -e "4 - all" +echo -e "What is ur choise?" + +read choise +case "$choise" in + +1) + echo -e "Install only home apps" + ;; +2) + echo -e "Install only apps for work" + ;; +3) + echo -e "Only download conf files in $HOME" + ;; +4) + echo -e "Do all! Start!" + ;; +*) + echo "ur seriosly!?" + exit + ;; +esac + + +echo -e "Start install pkgs" +cd setup && bash pkgs-install.sh