From 8841fbe92d438fe0133edd281f4c5208dd924780 Mon Sep 17 00:00:00 2001 From: ViktorBarzin Date: Sat, 13 Jan 2018 22:55:21 +0000 Subject: [PATCH] ask for password in start --- setup-env.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup-env.sh b/setup-env.sh index 766175c..05494e1 100755 --- a/setup-env.sh +++ b/setup-env.sh @@ -1,12 +1,13 @@ #!/bin/bash +echo "Enter root password:" +read -s password + # Install zsh sudo apt update sudo apt upgrade --assume-yes sudo apt install zsh \ python-pip --assume-yes -echo "Enter root password:" -read -s password # Setup oh-my-zsh wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh && chmod +x install.sh && echo "$password" | ./install.sh && \