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
Run the installation script:
curl -fsSL https://raw.githubusercontent.com/JGroxz/presto-prezto/main/presto-prezto.sh | bash
- Run the installation script with the
--font
flag:curl -fsSL https://raw.githubusercontent.com/JGroxz/presto-prezto/main/presto-prezto.sh | bash -s -- --font
- Set up your terminal to use the new Meslo Nerd Font by following the instructions here.
After the installation is complete, the command prompt will look like this: ...or like this, if you installed the version with the Meslo Nerd Font:
- 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