Skip to content

A repo for the quick setup of Zsh shell with Prezto, several useful plugins and an awesome theme

License

Notifications You must be signed in to change notification settings

JGroxz/presto-prezto

 
 

Repository files navigation

presto-prezto

Inspired by and based on gh-zsh repository

A simple one-shot script to set up an awesome shell environment for Ubuntu and MacOS, with:

  • Prezto - Zsh framework with several nice built-in plugins
  • junegunn/fzf - fuzzy search for command line
  • clvv/fasd - allows to run commands from history without fully typing them
  • Peltoche/lsd (LSDeluxe) - enables more informative, colored ls output
  • yuhonas/zsh-aliases-lsd - adds ls aliases to work with LSDeluxe
  • powerlevel10k - an awesome shell theme
  • (optional) Meslo Nerd Font - font recommended by the creator of Powerlevel10k theme, adds multiple icons and glyphs to further improve the looks and readability

It also includes the following aliases and functions in .zshrc:

  • .. = cd ..
  • ... = cd ../..
  • .... = cd ../../..
  • backup_with_timestamp FILE_PATH - creates a timestamped backup of the given file (or folder) in the same directory

Installation

Simple (without the custom font)

Run the installation script:

curl -fsSL https://raw.githubusercontent.com/JGroxz/presto-prezto/main/presto-prezto.sh | bash

Advanced (with Meslo Nerd Font)

  1. Run the installation script with the --font flag:
    curl -fsSL https://raw.githubusercontent.com/JGroxz/presto-prezto/main/presto-prezto.sh | bash -s -- --font
  2. Set up your terminal to use the new Meslo Nerd Font by following the instructions here.

Demo

After the installation is complete, the command prompt will look like this: ZSH-Prompt ...or like this, if you installed the version with the Meslo Nerd Font: ZSH-Prompt

Notes

  • If you are already using Zsh, your .zshrc file will be backed up to .zshrc-backup-date
  • If the text/icons look broken, make sure your terminal is using one of the Nerd fonts
  • Tested on:
    • Ubuntu 20.04
    • MacOS 10.14, and 11.3

About

A repo for the quick setup of Zsh shell with Prezto, several useful plugins and an awesome theme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%