Skip to content
/ ezsh Public

quickly setup shell environment by installing zsh, oh-my-zsh with power-level-10k zsh-completions zsh-autosuggestions zsh-syntax-highlighting history-substring-search and more

Notifications You must be signed in to change notification settings

jotyGill/ezsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezsh

A simple script to setup an awesome shell environment. Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh) with

Sets following useful aliases and ohmyzsh plugins. You can add more or overwrite these in your personal zsh config files under ~/.config/ezsh/zshrc/

Demo

Command prompt looks like this (easily customize it by placing your configs in ~/.config/ezsh/zshrc/) prompt user : directory : git stats : last command exit code free memory: load : time

Watch this to get an idea of what your Shell (well, life!) could be like!!

asciicast

Installation

Requirements:

  • git to clone it.
  • python3 or python is required to run option '-c' which copies history from .bash_history
git clone https://github.com/jotyGill/ezsh
cd ezsh
./install.sh -c        # only run with '-c' the first time, running multiple times will duplicate history entries

This will install the setup under ~/.config/ezsh/ Change your terminal's fonts to either "RobotoMono Nerd Font" or "Hack Nerd Font" or "DejaVu Sans Mono Nerd Fonts". You can also manually install Nerd Fonts of your choice.

Notes

  • Make sure to use any terminal besides QTerminal (default one in kali-xfce), here back space doesn't work for some reason (alt+back does). I recommend xfce4-terminal for Kali

  • If you are already using zsh, your zsh config 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. discussion. I recommend "RobotoMono Nerd Font"

  • marker's shortcut "Ctr+t" clashed with fzf so I rebound it to "Ctr +b"

  • All oh-my-zsh plugins are installed under ~/.config/ezsh/oh-my-zsh/plugin, Other tools (fzf,marker,todo) are installed in ~/.config/ezsh/

  • If you use Marker, disable zsh-autosuggestions as it has a conflict with Marker (completion looks ugly). Add plugins=(${plugins:#(zsh-autosuggestions)}) into your personal config file to remove it

  • The look of the shell can be very easily customised[https://github.com/bhilburn/powerlevel9k#prompt-customization] by overwriting POWERLEVEL10K settings in your personal config file under ~/.config/ezsh/zshrc/ . See example setup under example/personal_rc.zsh

Suggestions about more cool tools are always welcome :)

To Uninstall

To uninstall simply delete ~/.zshrc and ~/.config/ezsh/. The script creates a backup of your original .zshrc in the home folder with the filename indicating it's a backup. Rename it back to .zshrc

About

quickly setup shell environment by installing zsh, oh-my-zsh with power-level-10k zsh-completions zsh-autosuggestions zsh-syntax-highlighting history-substring-search and more

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages