Compare commits

...

7 commits

14 changed files with 3 additions and 38 deletions

View file

@ -1,6 +1,5 @@
jorgebucaran/fisher
fisherman/z
evanlucas/fish-kubectl-completions
franciscolourenco/done
jorgebucaran/autopair.fish
PatrickF1/fzf.fish

View file

@ -1,4 +1,4 @@
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin $HOME/.krew/bin $HOME/go/bin
fish_add_path /opt/homebrew/opt/curl/bin /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin $HOME/go/bin
{{- if eq .chezmoi.os "linux" }}
fish_add_path /home/linuxbrew/.linuxbrew/bin $HOME/.local/share/JetBrains/Toolbox/scripts
eval "$(brew shellenv)"

View file

@ -1,3 +0,0 @@
function kdjango
kubectl django $argv
end

View file

@ -1,3 +0,0 @@
function kjsonlogs
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"'
end

View file

@ -1,3 +0,0 @@
function k --wraps=kubectl --description 'alias k=kubectl'
kubectl $argv;
end

View file

@ -1,3 +0,0 @@
function kbash
kubectl bash $argv
end

View file

@ -1,3 +0,0 @@
function kctx --wraps='kubectl ctx'
kubectl ctx $argv;
end

View file

@ -1,6 +0,0 @@
function kgetall
for i in (kubectl api-resources --verbs=list --namespaced -o name | grep -v "events.events.k8s.io" | grep -v "events" | sort | uniq)
echo -e "\nResource:" $i
kubectl get $i
end
end

View file

@ -1,3 +0,0 @@
function kgpg
killall gpg-agent;
end

View file

@ -1,4 +0,0 @@
# Defined interactively
function klogs --wraps=stern
stern --tail=50 $argv
end

View file

@ -1,3 +0,0 @@
function kns --wraps='kubectl ns'
kubectl ns $argv;
end

View file

@ -1,4 +0,0 @@
# Defined interactively
function wpods
watch -n 2 kubectl get pods $argv
end

View file

@ -1,3 +1,4 @@
[misc]
# Don't ask for confirmations
#assume_yes = true

View file

@ -12,7 +12,7 @@ Host ubuntu
Host hass
hostname 192.168.0.9
user root
user hassio
port 32690
Host robospierre