Skip to content

Commit 0e74d5b

Browse files
authored
Merge pull request #1979 from YoshKoz/fix/pwsh-placeholder-docs
docs: document PowerShell placeholder quoting requirement
2 parents 90e73d7 + c7f4f19 commit 0e74d5b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,11 @@ you can use `export -f my_function` to make available to child processes. You wo
444444
need to call `fd -x bash -c 'my_function "$1"' bash`. For other use cases or shells, use
445445
a (temporary) shell script.
446446

447+
### Placeholders in `-x`/`-X`
448+
449+
Depending on your shell, you may need to quote the placeholders (`{}`, `{/}`, `{//}`,
450+
`{.}`, `{/.}`) to prevent the shell from interpreting them before `fd` sees them.
451+
447452
## Integration with other programs
448453

449454
### Using fd with `fzf`

0 commit comments

Comments
 (0)