Skip to content

Instantly share code, notes, and snippets.

@Brunomm
Last active July 8, 2023 11:08
Show Gist options
  • Save Brunomm/518ab224f4a4ed390a4644de1ad894f0 to your computer and use it in GitHub Desktop.
Save Brunomm/518ab224f4a4ed390a4644de1ad894f0 to your computer and use it in GitHub Desktop.
zsh + oh-my-zsh + gnome-terminal
## INSTALL zsh
sudo apt-get install -y zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
## INSTALL oh-my-zsh
sh -c “$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
# Talvez seja necessário.
echo 'PROMPT='\''%{$fg[white]%}%n@%m:%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[white]%}$ % %{$reset_color%}'\''' >> ~/.zshrc
echo 'RPROMPT='\''%{$fg[blue]%}%D{%F} %* %{$reset_color%}'\''' >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment