Skip to content

Commit

Permalink
Re-add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ford authored and Alex Ford committed Apr 17, 2024
1 parent 71c6be9 commit e649ae2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ DOTFILES_DIR=$(pwd)
if [ "$is_osx" = true ]; then
xcode-select --install
else
apt-get update && sudo apt-get upgrade -y
apt-get install -y build-essential procps curl file git zsh
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y build-essential procps curl file git zsh
fi

# Ensure directories exist.
Expand Down Expand Up @@ -84,6 +84,6 @@ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$
# Add ZSH to list of shells and set as default.
ZSH_PATH=$(which zsh)
if ! grep -q "$ZSH_PATH" /etc/shells; then
echo "$ZSH_PATH" | tee -a /etc/shells
echo "$ZSH_PATH" | sudo tee -a /etc/shells
fi
chsh -s "$ZSH_PATH" $USER
sudo chsh -s "$ZSH_PATH" $USER

0 comments on commit e649ae2

Please sign in to comment.