You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Configuración opcional para habilitar el autocompletado en la shell fish."
4
+
headless: true
5
+
_build:
6
+
list: never
7
+
render: never
8
+
publishResources: false
9
+
---
10
+
11
+
{{< note >}}
12
+
El autocompletado para Fish necesita de kubectl versión 1.23 o superior.
13
+
{{< /note >}}
14
+
15
+
El script de autocompletado de Fish para kubectl puede ser generado con el comando `kubectl completion fish`. Ejecutando este comando en tu shell habilitará el autocompletado de kubectl para Fish.
16
+
17
+
Para qué funcione en sus futuras sesiones shell, debes agregar la siguiente línea al archivo `~/.config/fish/config.fish`:
18
+
19
+
```shell
20
+
kubectl completion fish |source
21
+
```
22
+
23
+
Después de recargar tu shell, el autocompletado para kubectl estará funcionando automáticamente.
0 commit comments