1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-07 02:50:47 +00:00

docs(custom): use single equal sign for 'when' clause of 'custom.foo' example (#4454)

use single equal sign for 'when' clause of 'custom.foo' config example
This commit is contained in:
Uwe Jugel 2022-10-07 22:06:14 +02:00 committed by GitHub
parent 6e35dfa85a
commit 84bbe3dd03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3968,7 +3968,7 @@ with shell details and starship configuration if you hit such scenario.
[custom.foo]
command = "echo foo" # shows output of command
detect_files = ["foo"] # can specify filters but wildcards are not supported
when = """ test "$HOME" == "$PWD" """
when = """ test "$HOME" = "$PWD" """
format = " transcending [$output]($style)"
[custom.time]