Hacker GitHub

← All repos

zsh-users/zsh-syntax-highlighting

View on GitHub ↗ ★ 23,073 Shell

Fish shell like syntax highlighting for Zsh.

33 mentions on Hacker News by 29 people: 2 stories, 31 comments · first 2012-06-06 · latest 2025-07-20

Mentions per year 33 mentions · busiest year 2021 (8)
20082026
  1. …benefit the history search is a lot more powerful. https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting https://starship.rs https://atuin.sh
    comment by doubled112 · 2025-07-20 · in Speeding up my ZSH shell
  2. …enable = true; enableCompletion = true; enableBashCompletion = true; enableGlobalCompInit = true; # https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md syntaxHighlighting.enable = true;…
    comment by sshine · 2025-03-26 · in Better Shell History Search
  3. There's https://github.com/zsh-users/zsh-syntax-highlighting which does some parsing, but I never looked at the details of it (I just know it exists).
    comment by Beltalowda · 2022-09-03 · in In Praise of QEMU
  4. Installation instructions for the plugin: https://github.com/zsh-users/zsh-syntax-highlighting/blob/ma... Looks like you need to clone the .git repository into your oh-my-zsh directory
    comment by yboris · 2022-05-16 · in Zsh 5.9
  5. …and zsh-syntax-highlighting [2] plugins. [1] https://github.com/zsh-users/zsh-autosuggestions [2] https://github.com/zsh-users/zsh-syntax-highlighting And my custom theme ;) https://github.com/whyboris/dotfiles/blob/main/yboris.zsh-th...
    comment by yboris · 2022-05-16 · in Zsh 5.9
  6. …zsh-autosuggestion ( https://github.com/zsh-users/zsh-autosuggestions ) zsh-syntax-highlighting ( https://github.com/zsh-users/zsh-syntax-highlighting ) and zsh fzf-tab ( https://github.com/Aloxaf/fzf-tab ) its been wonderful using these…
    comment by animal_spirits · 2021-11-25 · in The fish shell is amazing
  7. I'm an assisted human being, I need instructions like these :D https://github.com/zsh-users/zsh-syntax-highlighting/blob/ma... btw my comment was not here to tell people I was lazy. It was here as feedback. Users are lazy. Online…
  8. …slower than say OMZ, but that's not such a big deal for me.) [0] https://github.com/olets/zsh-abbr https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-autosuggestions
    comment by lordgrenville · 2021-10-20 · in s/bash/zsh/g
  9. …can hate something. You can source https://github.com/zsh-users/zsh-autosuggestions/blob/master... https://github.com/zsh-users/zsh-syntax-highlighting/blob/ma... without omz anyways.
    comment by chx · 2021-10-20 · in s/bash/zsh/g
  10. …it with readline would be a sure way to lose a majority of users in a blink of an eye. [1]: https://github.com/zsh-users/zsh-syntax-highlighting [2]: https://github.com/zsh-users/zsh-autosuggestions
    comment by soraminazuki · 2021-10-20 · in s/bash/zsh/g
  11. …https://github.com/zsh-users/zsh-autosuggestions Bonus: `zsh-syntax-highlighting` is excellent: https://github.com/zsh-users/zsh-syntax-highlighting
    comment by yboris · 2021-02-18 · in Zsh Tricks to Blow Your Mind
  12. …Lastly I've added a syntax highlighter, which is really neat. # ZSH Syntax Highlighter - see https://github.com/zsh-users/zsh-syntax-highlighting source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh I don't use oh-my-zsh,…
    comment by olsgaarddk · 2021-02-18 · in Zsh Tricks to Blow Your Mind
  13. …These are rather popular so long time users may not benefit from these suggestions. [1] https://github.com/zsh-users/zsh-syntax-highlighting [2] https://github.com/zsh-users/zsh-autosuggestions
    comment by gabagool · 2020-12-21 · in Bash 5.1
  14. …has the advantage of being more interoperable with bash generally): [zsh-syntax-highlighting]( https://github.com/zsh-users/zsh-syntax-highlighting ) [zsh-autosuggestions]( https://github.com/zsh-users/zsh-autosuggestions ) Poster…
    comment by IggleSniggle · 2020-07-26 · in Colorize Your CLI
  15. * zsh-autosuggestions: https://github.com/zsh-users/zsh-autosuggestions * zsh-syntax-highlighting: https://github.com/zsh-users/zsh-syntax-highlighting * My zshrc, for what it's worth: https://github.com/burke/dotfiles/blob/master/.zshrc#L1…
  16. Fish shell like syntax highlighting for zsh: https://github.com/zsh-users/zsh-syntax-highlighting Fish-like autosuggestions for zsh: https://github.com/zsh-users/zsh-autosuggestions
    comment by nlo · 2017-09-26 · in Git git git git git
  17. …Apparently those are in zsh-users, not oh-my-zsh. https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting
  18. …had to spend 2 minutes and add 3 lines to my zsh configuration to get those fish features. tada ! https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-history-substring-search…
    comment by bigbugbag · 2017-01-15 · in Mastering Bash and Terminal
  19. Zsh has a plugin for syntax highlighting: https://github.com/zsh-users/zsh-syntax-highlighting
    comment by bmichel · 2016-05-11 · in The xonsh shell
  20. …://github.com/zsh-users/zsh-history-substring-search https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting
    comment by bigbugbag · 2016-05-06 · in Count me as a systemd convert
  21. …com/zsh-users/zsh-history-substring-search [2]: https://github.com/zsh-users/zsh-autosuggestions [3]: https://github.com/zsh-users/zsh-syntax-highlighting
    comment by bigbugbag · 2016-05-06 · in Count me as a systemd convert
  22. …is great for interactive use! [0]: https://github.com/grml/grml-etc-core/tree/master/etc/zsh [1]: https://github.com/zsh-users/zsh-syntax-highlighting
  23. Fish not being bash compliant was a deal breaker for me. I use zsh with https://github.com/zsh-users/zsh-syntax-highlighting zsh fish like syntax hilighting and am much more happy.
    comment by donatj · 2015-05-18 · in Fish shell
  24. Here's one for zsh https://github.com/zsh-users/zsh-syntax-highlighting
  25. You can get fish syntax highlighting in zsh by installing zsh-syntax-highlighting ( https://github.com/zsh-users/zsh-syntax-highlighting ). I prefer just enabling it in prezto though (which is a fork of oh-my-zsh that is a lot lighter…
    comment by jedahan · 2012-11-30 · in Love Your Terminal
  26. I'm currently using git, brew, zsh-syntax-highlighting[1] and z[2] 1: https://github.com/zsh-users/zsh-syntax-highlighting 2: https://github.com/sjl/z-zsh
    comment by magnusvadoy · 2012-10-01 · in Try z shell
  27. …I've found for Bash. And, there's even a script that offers Fish-like syntax coloring for Zsh: https://github.com/zsh-users/zsh-syntax-highlighting/ But not having used Fish yet myself, I can't really offer any reasons to use Zsh over Fish.
    comment by greyfade · 2012-07-23 · in Zsh 5.0 released
  28. It was already possible with https://github.com/zsh-users/zsh-syntax-highlighting . Fish is another shell that supports syntax highlighting out of the box.
    comment by Watabou · 2012-07-23 · in Zsh 5.0 released
  29. …plugins for different things. It's on my list of things to figure out how to do eventually. [1] https://github.com/zsh-users/zsh-syntax-highlighting
    comment by shabble · 2012-07-23 · in Zsh 5.0 released
  30. ~ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git Cloning into zsh-syntax-highlighting... warning: remote HEAD refers to nonexistent ref, unable to checkout. :(
    comment by tessellated · 2012-06-07 · in Fish: Finally, a command line shell for the 90s
  31. zsh has a plugin for fish-style syntax highlighting: https://github.com/zsh-users/zsh-syntax-highlighting