Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

my-agnoster

A compact Oh My Zsh theme based on agnoster.

Changes from the stock theme:

  • shows the machine hostname before the path
  • keeps the path compact by showing only the current directory name
  • keeps the original agnoster git prompt behavior

Requirements

  • Oh My Zsh installed
  • a Powerline or Nerd Font so the prompt glyphs render correctly

Install

Run:

curl -fsSL https://raw.githubusercontent.com/dnviti/my-agnoster/main/install.sh | bash

The installer:

  • copies my-agnoster.zsh-theme into ~/.oh-my-zsh/custom/themes/
  • updates ~/.zshrc to use ZSH_THEME="my-agnoster"

Then reload your shell:

exec zsh

Manual Install

mkdir -p ~/.oh-my-zsh/custom/themes
curl -fsSL https://raw.githubusercontent.com/dnviti/my-agnoster/main/my-agnoster.zsh-theme \
  -o ~/.oh-my-zsh/custom/themes/my-agnoster.zsh-theme
sed -i.bak 's/^ZSH_THEME=.*/ZSH_THEME="my-agnoster"/' ~/.zshrc
exec zsh

Notes

This theme sources the stock agnoster theme from Oh My Zsh, so it is not a standalone prompt theme for plain zsh setups without Oh My Zsh.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages