Skip to content

Instantly share code, notes, and snippets.

@pacharanero
Last active January 3, 2024 12:32
Show Gist options
  • Save pacharanero/fe84aed43281a3f789674c46fd5de16a to your computer and use it in GitHub Desktop.
Save pacharanero/fe84aed43281a3f789674c46fd5de16a to your computer and use it in GitHub Desktop.
#!/bin/bash -x
set -e
# COMMAND
# curl -Lks https://gist.github.com/pacharanero/fe84aed43281a3f789674c46fd5de16a/raw | /bin/bash
# install zsh
sudo apt install zsh
# verify installation and version
echo 'zsh --version:' zsh --version
# change to use zsh as default shell
chsh -s $(which zsh); echo 'echo $SHELL:' $SHELL
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo 'now install .dotfiles to get standard .zshrc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment