Last active
April 13, 2018 14:43
-
-
Save n1kk/4c64ede81883b44a1cac0180e1a68adf to your computer and use it in GitHub Desktop.
Copypaste [kinda]oneliner to install oh-my-zsh into ubuntu server (vm/docker) with a simple theme (cl - af-magic, ssh - bira)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && \ | |
sudo apt-get install -y git git-core curl zsh nano && \ | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" && \ | |
sed -i -E 's/ZSH_THEME=".+"/\[\[ \-n \$SSH_CONNECTION \]\] \&\& ZSH_THEME\="bira" \|\| ZSH_THEME\="af\-magic"/g' $HOME/.zshrc && \ | |
env zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment