We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4f737e + ba9ad02 commit b1ca7a8Copy full SHA for b1ca7a8
content/es/docs/tasks/tools/included/optional-kubectl-configs-bash-mac.md
@@ -50,8 +50,7 @@ brew install bash-completion@2
50
Como se indica en el resultado de este comando, agregue lo siguiente a su archivo `~/.bash_profile`:
51
52
```bash
53
-export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d"
54
-[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
+brew_etc="$(brew --prefix)/etc" && [[ -r "${brew_etc}/profile.d/bash_completion.sh" ]] && . "${brew_etc}/profile.d/bash_completion.sh"
55
```
56
57
Vuelva a cargar su shell y verifique que bash-complete v2 esté instalado correctamente con `type _init_completion`.
0 commit comments