Giter VIP home page Giter VIP logo

shell-prettifier's Introduction

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

shell-prettifier's People

Contributors

techwhizkid avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.