Comments (2)
thanks!
from zsh-syntax-highlighting.
Hello. When you say weird underline, do you mean the underlining itself is the problem, or do you mean how it uses the same color as the path separator?
If you don't like the underlining itself, you can disable it by editing lines 60-63 of the catppuccin_macchiato-zsh-syntax-highlighting.zsh file and removing the "underline" portion. So those lines should now look like this:
ZSH_HIGHLIGHT_STYLES[path]='fg=#cad3f5'
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#ed8796'
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cad3f5'
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#ed8796'
If you don't like how the underline color matches the color of the path separator, but you still want to keep the underline, the best way is to edit lines 60-63 of the syntax highlighting file to look like this:
ZSH_HIGHLIGHT_STYLES[path]='fg=#cad3f5,underline'
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#ed8796'
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cad3f5,underline'
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#ed8796'
This will result in having gaps in the underlining for the path separator. In my opinion, this looks better anyway, so I might make this change in the repo for all flavors. I will also provide a no-path-underline file for each flavor, so that users can decide themselves instead of having to edit the file.
Let me know if this helps!
from zsh-syntax-highlighting.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsh-syntax-highlighting.