Skip to content

Instantly share code, notes, and snippets.

View mo-fouad's full-sized avatar
💪
Fight to the last breath

Mohamed Fouad Sagha mo-fouad

💪
Fight to the last breath
  • @Qrios.se
  • Stockholm, Sweden
View GitHub Profile
@anthonyray
anthonyray / gist:398fde676a7704c03d6624155ba0011e
Last active July 4, 2023 12:57
Set up OhMyZsh on Amazon EC2 instance running Ubuntu Server 14.04
  1. Connect to your EC2 instance
  2. Install zsh : sudo apt-get update && sudo apt-get install zsh
  3. Edit your passwd configuration file to tell which shell to use for user ubuntu : sudo vim /etc/passwd
  4. Look for ubuntu user, and replace bin/bash by bin/zsh
  5. Install OhMyZsh : sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  6. Disconnect from your instance and reconnect it.