ask for password in start
This commit is contained in:
parent
9647c165b1
commit
8841fbe92d
1 changed files with 3 additions and 2 deletions
|
|
@ -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 && \
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue