Skip to content

Commit

Permalink
Add k3d spec to carapace
Browse files Browse the repository at this point in the history
Use it until carapace-sh/carapace-bin#1864
is done.
  • Loading branch information
giggio committed Sep 27, 2023
1 parent b693a1b commit 7af3a0a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Empty file.
6 changes: 6 additions & 0 deletions config/carapace/specs/k3d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: null
---
name: k3d
description: k3d is a wrapper CLI that helps you to easily create k3s clusters inside docker
completion:
positionalany: ["$_bridge.Cobra([k3d])"]
4 changes: 4 additions & 0 deletions configure-user-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ if [[ "`gpg --list-keys $keyId 2> /dev/null | grep ^uid | grep [ultimate]`" == '
rm $gpgPublicKeyFile
rm $gpgOwnerTrustFile
fi

if hash carapace 2>/dev/null && ! [ -f "$HOME"/.config/carapace/schema.json ]; then
carapace _carapace > /dev/null
fi
3 changes: 3 additions & 0 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- create:
- ~/.cache
- ~/.config
- ~/.config/carapace
- ~/p
- ~/bin
- shell:
Expand Down Expand Up @@ -38,6 +39,8 @@
~/.config/starship.toml: config/starship.toml
~/.config/navi/config.yaml: config/navi-config.yaml
~/.config/nushell: nuscripts
~/.config/carapace/specs: config/carapace/specs
~/.config/carapace/overlays: config/carapace/overlays
~/.bashrc:
path: home/.bashrc
force: true
Expand Down

0 comments on commit 7af3a0a

Please sign in to comment.