From 4e461ad88c5530281f6d91809a974dc32eccf00f Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 21 Aug 2024 16:26:37 +0100 Subject: [PATCH] feat(util): add and setup restish CLI tool --- config/mise/config.toml | 1 + zsh/restish.zsh | 7 +++++++ zshrc | 1 + 3 files changed, 9 insertions(+) create mode 100644 zsh/restish.zsh diff --git a/config/mise/config.toml b/config/mise/config.toml index 5d02163..8aa8042 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -32,6 +32,7 @@ show_tools = false "cargo:watchexec-cli" = "latest" "go:github.com/DarthSim/hivemind" = "latest" "go:github.com/bufbuild/buf-language-server/cmd/bufls" = "latest" +"go:github.com/danielgtaylor/restish" = "latest" "go:github.com/go-delve/delve/cmd/dlv" = "latest" "go:github.com/golang/mock/mockgen" = "latest" "go:github.com/hashicorp/terraform-ls" = "latest" diff --git a/zsh/restish.zsh b/zsh/restish.zsh new file mode 100644 index 0000000..c321367 --- /dev/null +++ b/zsh/restish.zsh @@ -0,0 +1,7 @@ +# +# restish Setup +# + +if command-exists restish; then + setup-completions restish "$(command-path restish)" restish completion zsh +fi diff --git a/zshrc b/zshrc index 2b9b59c..dda9c6c 100644 --- a/zshrc +++ b/zshrc @@ -280,6 +280,7 @@ source "$DOTZSH/less.zsh" source "$DOTZSH/mise.zsh" source "$DOTZSH/neovim.zsh" source "$DOTZSH/nix.zsh" +source "$DOTZSH/restish.zsh" source "$DOTZSH/tldr.zsh" source "$DOTZSH/tmux.zsh" source "$DOTZSH/zoxide.zsh"