Skip to content

Commit 02d095b

Browse files
committed
Initial translation of file optional-kubectl-configs-fish.md
1 parent de58ecd commit 02d095b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "autocompletado con fish"
3+
description: "Configuracion 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 su shell habilitará el autocompletado de kubectl para fish.
16+
17+
Para qué funcione en sus futuras sesiones shell, debe 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 su shell el autocompletado para kubectl estará funcionando automáticamente.
24+

0 commit comments

Comments
 (0)