From d58d220a2fce3c7ce396a150a8711468f93a61fd Mon Sep 17 00:00:00 2001 From: Rob Muhlestein Date: Fri, 2 Feb 2024 16:52:01 -0500 Subject: [PATCH] add install-goreleaser and z with cobra --- .bashrc | 3 ++- install/ubuntu/install-goreleaser | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 install/ubuntu/install-goreleaser diff --git a/.bashrc b/.bashrc index 8434481..1a42a7e 100644 --- a/.bashrc +++ b/.bashrc @@ -336,7 +336,7 @@ clone() { [[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" owncomp=( - pdf zet keg kn yt gl auth pomo config live iam sshkey ws x z clip + pdf zet keg kn yt gl auth pomo config live iam sshkey ws x clip ./build build b ./k8sapp k8sapp ./setup ./cmd run ./run foo ./foo cmds ./cmds z bonzai openapi obs ) @@ -344,6 +344,7 @@ owncomp=( for i in "${owncomp[@]}"; do complete -C "$i" "$i"; done _have gh && . <(gh completion -s bash) +_have z && . <(z completion bash) _have glow && . <(glow completion bash) _have goreleaser && . <(goreleaser completion bash 2>/dev/null) _have klogin && . <(klogin completion bash 2>/dev/null) diff --git a/install/ubuntu/install-goreleaser b/install/ubuntu/install-goreleaser new file mode 100755 index 0000000..7a5f9ce --- /dev/null +++ b/install/ubuntu/install-goreleaser @@ -0,0 +1,4 @@ +#!/bin/sh + +go install github.com/goreleaser/goreleaser@latest +