Skip to content

Commit

Permalink
[fr] Update Bash alias auto-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
mtovmassian committed Jun 16, 2022
1 parent c55941f commit 142ed20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/fr/docs/reference/kubectl/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Vous pouvez de plus déclarer un alias pour `kubectl` qui fonctionne aussi avec

```bash
alias k=kubectl
complete -F __start_kubectl k
complete -o default -F __start_kubectl k
```

### ZSH
Expand Down
4 changes: 2 additions & 2 deletions content/fr/docs/tasks/tools/install-kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ Vous devez maintenant vérifier que le script de completion de kubectl est bien

```shell
echo 'alias k=kubectl' >>~/.bashrc
echo 'complete -F __start_kubectl k' >>~/.bashrc
echo 'complete -o default -F __start_kubectl k' >>~/.bashrc
```

{{< note >}}
Expand Down Expand Up @@ -431,7 +431,7 @@ Si vous n'avez pas installé via Homebrew, vous devez maintenant vous assurer qu

```shell
echo 'alias k=kubectl' >>~/.bashrc
echo 'complete -F __start_kubectl k' >>~/.bashrc
echo 'complete -o default -F __start_kubectl k' >>~/.bashrc
```

Si vous avez installé kubectl avec Homebrew (comme expliqué [ici](#installer-avec-homebrew-sur-macos)), alors le script de complétion a été automatiquement installé dans `/usr/local/etc/bash_completion.d/kubectl`. Dans ce cas, vous n'avez rien à faire.
Expand Down

0 comments on commit 142ed20

Please sign in to comment.