Skip to content

Shell Prettifier is a simple script that beautifies your terminal with plugins.

Notifications You must be signed in to change notification settings

TechWhizKid/shell-prettifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shell-prettifier.sh

Shell Prettifier is a simple script that beautifies your terminal with oh-my-zsh and zsh plugins in gnome-desktop-environment.

terminal

Installation

To install Shell Prettifier, run the following commands:

Clone the repository:

git clone --depth 1 https://github.com/TechWhizKid/shell-prettifier.git

Move to 'shell-prettifier/':

cd shell-prettifier/

Install required packages:

sudo chmod +x install_requirements.sh
./install_requirements.sh

Install terminal profile:

sudo chmod +x install_profile.sh
./install_profile.sh

If the terminal doesn't switch to zsh run this:

chsh -s $(which zsh)

Requires reboot for the changes to take effect.

Note: Tested on "Zorin OS 17" and "Ubuntu 22.04 LTS".

Tip 1: To disable neofetch from launching with the terminal, you can modify the file ~/.zshrc and comment out the last line from the file and save it.

Tip 2: Keep the terminal profile backup file that will be created by install_profile.sh script incase you want to revert to your old terminal settings.

Tip 3: You can use the wallpaper from .shell-prettifier/wallpaper/ to match the color palette.

Fixing font

If you are having issues where special characters and icons are not displayed correctly, I recommend downloading another fixed version of the font instead.

Here is how you can install Menlo-for-Powerline font:

git clone https://github.com/abertsch/Menlo-for-Powerline.git

After downloading you can add the font to your fonts folder:

cd Menlo-for-Powerline
cp "Menlo for Powerline.ttf" ~/.fonts

Lastly, you will need to select the font in your terminals preferences/settings.

How to reset

If you want to revert to your old terminal settings, you can load the backup that was made by the install_profile.sh script while installing using this command:

dconf load /org/gnome/terminal/legacy/profiles:/ < ~/terminal_profile_backup.dconf

Then, you can reset your shell back to bash with the following command:

chsh -s $(which bash)

Now you can remove the packages that were installed by the script, the packages are:

pv git git-core zsh neofetch curl

Sources

Robby Russel OMZ
Oh My Zsh guide!
Syntax Highlighting
Auto Suggestions
Agnoster Theme