title: Shortening my prompt in Zsh
body: <p>I'm having a lot of trouble getting zsh to shorten my prompt. I'm currently using zsh with the agnoster theme and oh-my-zsh package manager.</p>
  
  <p>My prompt currently gets annoyingly long during work, usually around 110 characters, taking up the entire length of my terminal, which is just not very aesthetically pleasing.</p>
  
  <p>I've looked at a few other people's .zshrc's and attempts to modify their prompt, but nothing seems to work in mine. I've tried copying many, many things into my .zshrc and have seen no effects. </p>
  
  <p>My most recent attempt was to try to copy the prompt block from <a href="https://stackoverflow.com/a/171564/2416097">https://stackoverflow.com/a/171564/2416097</a></p>
  
  <p>Nothing. Even when I disabled my theme while having this block included, the prompt is still at full length. </p>
  
  <p>Additionally, I can't seem to find any simple or straightforward guides on how to format my prompt in the first place. Most of the results I found while searching only yielded long format strings without explanation or instruction on use. </p>
  
  <p>Any help appreciated!</p>