debug password prompt

This commit is contained in:
ViktorBarzin 2018-01-13 22:23:12 +00:00
parent fbee84faa5
commit 4595de2dd7

View file

@ -1,22 +1,20 @@
#!/bin/bash #!/bin/bash
echo -n Enter root password:
read -s password
# Install zsh # Install zsh
sudo apt update sudo apt update
sudo apt upgrade --assume-yes sudo apt upgrade --assume-yes
sudo apt install zsh \ sudo apt install zsh \
python-pip python-pip --assume-yes
# Setup oh-my-zsh # Setup oh-my-zsh
echo $password | sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" && \ echo "#######################################"
# Password prompt sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" && \
echo "DAAAAAAAAAAAA#######################################"
# Setup config files # Setup config files
git clone https://github.com/ViktorBarzin/dot_files.git && \ cp .zshrc ~/ && \
cp -i .zshrc ~/ && \ cp .bash_aliases ~/ && \
cp -i .bash_aliases ~/ && \ sudo cp virtualenvwrapper.sh /usr/local/bin/ && \
sudo cp -i virtualenvwrapper.sh /usr/local/bin/ && \ cp .zshenv ~/ && \
cp -i .zshenv ~/ && \
# Configure j (jump) # Configure j (jump)
# Debian like # Debian like