Skip to content

Commit 45e003d

Browse files
committed
update shell completion docs
1 parent 6eafa17 commit 45e003d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ pip3 install --user policy_sentry
124124
To enable Bash completion, put this in your `.bashrc`:
125125

126126
```bash
127-
eval "$(_POLICY_SENTRY_COMPLETE=source policy_sentry)"
127+
eval "$(_POLICY_SENTRY_COMPLETE=bash_source policy_sentry)"
128128
```
129129

130130
To enable ZSH completion, put this in your `.zshrc`:
131131

132132
```
133-
eval "$(_POLICY_SENTRY_COMPLETE=source_zsh policy_sentry)"
133+
eval "$(_POLICY_SENTRY_COMPLETE=zsh_source policy_sentry)"
134134
```
135135

136136
### Step 1: Create the Template

docs/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ pip3 install --user policy_sentry
2222
To enable Bash completion, put this in your `.bashrc`:
2323

2424
```bash
25-
eval "$(_POLICY_SENTRY_COMPLETE=source policy_sentry)"
25+
eval "$(_POLICY_SENTRY_COMPLETE=bash_source policy_sentry)"
2626
```
2727

2828
To enable ZSH completion, put this in your `.zshrc`:
2929

3030
```
31-
eval "$(_POLICY_SENTRY_COMPLETE=source_zsh policy_sentry)"
31+
eval "$(_POLICY_SENTRY_COMPLETE=zsh_source policy_sentry)"
3232
```

0 commit comments

Comments
 (0)