diff options
Diffstat (limited to 'packages/web')
| -rw-r--r-- | packages/web/src/content/docs/permissions.mdx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/web/src/content/docs/permissions.mdx b/packages/web/src/content/docs/permissions.mdx index 4df3841e3..229cb264e 100644 --- a/packages/web/src/content/docs/permissions.mdx +++ b/packages/web/src/content/docs/permissions.mdx @@ -78,6 +78,14 @@ Permission patterns use simple wildcard matching: - `?` matches exactly one character - All other characters match literally +### Home Directory Expansion + +You can use `~` or `$HOME` at the start of a pattern to reference your home directory. This is particularly useful for `external_directory` rules. + +- `~/projects/*` -> `/Users/username/projects/*` +- `$HOME/projects/*` -> `/Users/username/projects/*` +- `~` -> `/Users/username` + --- ## Available Permissions |
