spoonkojo / zsh.prompts

My ZSH prompts for use with YADR or Prezto (see README)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modified 'agnoster' theme

Modified specifically for use with Prezto. Also fully compatible with YADR as it incorporates Prezto as a sub-module.

Please be aware that I've intentionally left this theme with the original name as I didn't create it. All I did was modify it for use with Prezto/YADR.

Prerequisites

Please note that I can't cover all possible variations of ZSH-modifications projects. If you don't use YADR, you'll need to make sure the above scripts are loaded, preferably through ~/.zpreztorc.

For example, source git-omz.zsh and/or source get-short-path.zsh.

Installation - Prezto

  • Grab prompt_agnoster_setup from this repo
  • Put the file in ~/.zprezto/modules/prompt/functions/
  • Restart your ZSH session
  • Run prompt agnoster to make sure the theme loaded properly
  • Modify ~/.zprezto to load this theme by looking for a line similar to the following:
    • zstyle ':prezto:module:prompt' theme 'theme name here'
    • Replace 'theme name here' with 'agnoster'
  • Restart your ZSH session, or start a new one

Installation - YADR

  • Grab prompt_agnoster_setup from this repo
  • Put the file in ~/.zsh.prompts/
  • As per the YADR documentation, run echo "prompt agnoster" > ~/.zsh.after/prompt.zsh
  • Restart your ZSH session, or start a new one

Preview/Screenshot

agnoster for Prezto Screenshot

About

My ZSH prompts for use with YADR or Prezto (see README)