summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAman Kumar Sinha <45752299+Perniciosius@users.noreply.github.com>2021-10-07 05:01:26 +0530
committerGitHub <noreply@github.com>2021-10-06 18:31:26 -0500
commit9f2f5293e335f85e26479c5e1a59cee088736657 (patch)
treed8e6840fc0438848ca94be90add1a1eafcb2c0f9 /docs
parent64646931652eda4b84590716f886b89742632c54 (diff)
docs: fix custom commands example (#3129)
Diffstat (limited to 'docs')
-rw-r--r--docs/config/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 669a08fcb..c6ae7b04c 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -3392,12 +3392,12 @@ with shell details and starship configuration if you hit such scenario.
[custom.foo]
command = "echo foo" # shows output of command
-files = ["foo"] # can specify filters
+files = ["foo"] # can specify filters but wildcards are not supported
when = """ test "$HOME" == "$PWD" """
format = " transcending [$output]($style)"
[custom.time]
command = "time /T"
-files = ["*.pst"]
+extensions = ["pst"] # filters *.pst files
shell = ["pwsh.exe", "-NoProfile", "-Command", "-"]
```