From 439ccf8f4f092a3b1f909e430775db933dc7c740 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 3 Jul 2023 09:12:43 +0200 Subject: [PATCH] docs: Revert remove reference to tar and /dev/stdin so code works on Windows" This reverts commit 908f7fba831405bf48671c2c37a022aeb6e18e74. --- .../chezmoi.io/docs/user-guide/include-files-from-elsewhere.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/chezmoi.io/docs/user-guide/include-files-from-elsewhere.md b/assets/chezmoi.io/docs/user-guide/include-files-from-elsewhere.md index e5fc2a1e652..a0da9cbc6c3 100644 --- a/assets/chezmoi.io/docs/user-guide/include-files-from-elsewhere.md +++ b/assets/chezmoi.io/docs/user-guide/include-files-from-elsewhere.md @@ -124,7 +124,8 @@ and `$ENTRY.filter.args` variables in `.chezmoiexternal.$FORMAT`, for example: executable = true refreshPeriod = "168h" [".local/bin/age".filter] - args = ["--extract", "--gzip", "--to-stdout", "age/age"] + command = "tar" + args = ["--extract", "--file", "/dev/stdin", "--gzip", "--to-stdout", "age/age"] ``` This will extract the single archive member `age/age` from the given URL (which