Skip to content

Commit 9a934d2

Browse files
committed
'main': Path separators: Leave styles empty by default
If the separator feature is disabled, this makes it possible to change the main 'path' styles in a running session without the need to touch the '_pathseparator' styles, too.
1 parent 750aebc commit 9a934d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highlighters/main/main-highlighter.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
: ${ZSH_HIGHLIGHT_STYLES[commandseparator]:=none}
4242
: ${ZSH_HIGHLIGHT_STYLES[hashed-command]:=fg=green}
4343
: ${ZSH_HIGHLIGHT_STYLES[path]:=underline}
44-
: ${ZSH_HIGHLIGHT_STYLES[path_pathseparator]:=${ZSH_HIGHLIGHT_STYLES[path]}}
44+
: ${ZSH_HIGHLIGHT_STYLES[path_pathseparator]:=}
4545
: ${ZSH_HIGHLIGHT_STYLES[path_prefix]:=underline}
46-
: ${ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]:=${ZSH_HIGHLIGHT_STYLES[path_prefix]}}
46+
: ${ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]:=}
4747
: ${ZSH_HIGHLIGHT_STYLES[globbing]:=fg=blue}
4848
: ${ZSH_HIGHLIGHT_STYLES[history-expansion]:=fg=blue}
4949
: ${ZSH_HIGHLIGHT_STYLES[single-hyphen-option]:=none}

0 commit comments

Comments
 (0)