Skip to content

Commit

Permalink
feat: k8s + fish fun [+aquas]
Browse files Browse the repository at this point in the history
  • Loading branch information
scottames committed Apr 22, 2023
1 parent b944552 commit bf8fe99
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ packages:
registry: dots
- name: neovim/neovim@stable
- name: direnv/[email protected]
- name: kubernetes/[email protected]
- name: fluxcd/[email protected]
- name: helm/[email protected]
- name: kubernetes-sigs/kustomize@kustomize/v5.0.1
- name: stern/[email protected]
4 changes: 4 additions & 0 deletions home/private_dot_config/fish/completions/flux.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env fish

type -q kubectl
and kubectl completion fish | source
4 changes: 4 additions & 0 deletions home/private_dot_config/fish/completions/helm.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env fish

type -q helm
and helm completion fish | source
4 changes: 4 additions & 0 deletions home/private_dot_config/fish/completions/kubectl.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env fish

type -q flux
and flux completion fish | source
4 changes: 4 additions & 0 deletions home/private_dot_config/fish/completions/kustomize.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env fish

type -q kustomize
and kustomize completion fish | source
4 changes: 4 additions & 0 deletions home/private_dot_config/fish/completions/stern.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env fish

type -q stern
and stern --completion fish | source
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/env fish
{{ if lookPath "paru" }}
function parus --description "fzf install paru packages"
paru -Sl --aur | awk '{print $2($4=="" ? "" : " *")}' | fzf --multi --preview 'paru -Si {1}' --reverse | xargs -ro paru -S
end
{{- end }}

0 comments on commit bf8fe99

Please sign in to comment.