Skip to content
  1. Jul 28, 2024
  2. Jul 27, 2024
  3. Jul 24, 2024
  4. Jul 23, 2024
  5. Jul 21, 2024
  6. Jul 17, 2024
  7. Jul 15, 2024
  8. Jul 13, 2024
  9. Jul 12, 2024
    • Marc Khouri's avatar
      refactor(pygmalion): simplify theme logic and prompt sequences (#12550) · fa583cfb
      Marc Khouri authored
      * Simplify Pygmalion Theme
      
      The Pygmalion theme previously had some logic for counting line length and taking action based on line length. The action was removed in c52441b6, but the counting still needlessly happens. 
      
      This commit removes the code to count line length, and simplifies the Pygmalion theme by moving the "precmd" into the setup. 
      
      As a bonus unintended side effect, this makes the Pygmalion theme compatible with the current async prompting logic (i.e. after this change, Pygmalion is no longer affected by https://github.com/ohmyzsh/ohmyzsh/issues/12328
      
      )
      
      * refactor(pygmalion): redo and simplify prompt sequences
      
      With this commit we put the minimal needed color resets, i.e. only
      when we don't control the previous text we need to do a full reset.
      Otherwise we can just use %F{} to change only the foreground color.
      
      Co-authored-by: default avatarMarc Cornellà <marc@mcornella.com>
      fa583cfb
  10. Jul 08, 2024
  11. Jul 06, 2024
  12. Jul 03, 2024
  13. Jul 02, 2024
  14. Jun 28, 2024
Loading