Commit Graph

223 Commits

Author SHA1 Message Date
Jim Myhrberg
f80885f663 chore(ruby/gems): add ruby-lsp-rspec to global package list 2025-05-29 12:47:38 +01:00
Jim Myhrberg
899828ad0c feat(shell/k8s): add more aliases 2025-05-29 12:47:38 +01:00
02311a6b3e fix(shell/1password): fix typo in comment of script 2025-05-25 20:48:40 +01:00
Jim Myhrberg
56c3b49bef fix(mise/ruby): move global gems back to shell helper
Mise is only suitable for gems which expose self-contained CLI tools that don't interact with other Ruby-based tools.

Because it sets GEM_HOME to the specific gem's install path, things like `foreman` cannot launch Rails apps, cause any Ruby-based child processes will not find any gems they expect.
2025-05-05 13:45:57 +01:00
9760c4a2aa feat(mise/tools): install Ruby gems with mise
Also remove various old defunct install_*_global_packages helper shell commands.
2025-05-04 10:22:59 +01:00
52f4d43ddf feat(mise/tools): add stern and kubetail 2025-05-03 13:33:52 +01:00
Jim Myhrberg
531bf0bd0f chore(ruby): add ruby-lsp-rails to global package list 2025-04-01 10:48:05 +01:00
Jim Myhrberg
e67bf554a2 chore(go/tools): install mockgen via go instead of mise 2025-04-01 10:46:42 +01:00
9fbed8d2ba chore(shell/ruby): remove rubocop-daemon from global package list 2025-04-01 09:48:00 +01:00
f3df7e2253 fix(golang): install Go dev tools with go install and general CLI tools with mise 2025-02-28 09:06:49 +00:00
cd497851bd feat(mise/tools): install Go-based tools via mise again
The issue that was preventing mise from installing Go tools a few weeks
ago seems to have been resolved.
2025-02-23 23:00:00 +00:00
Jim Myhrberg
62f5251774 feat(golang/packages): add gofumpt to global package list 2025-02-14 21:38:17 +00:00
Jim Myhrberg
2be6239e18 feat(cli): add ansi CLI tool 2025-02-14 21:36:41 +00:00
e42f9794a5 fix(shell/kubectx): fix typo in completion setup function 2025-02-11 08:29:48 +00:00
Jim Myhrberg
a1a078c976 fix(karabiner/custom): use correct identifier for Warp 2025-02-10 02:28:38 +00:00
Jim Myhrberg
24aab0403e feat(shell/alias): add jy alias for "yj -jy | yq" 2025-01-06 13:27:00 +00:00
9e9818456d chore(mise/tools): manage global python packages with mise 2024-12-26 23:56:32 +00:00
3d008b827d chore(rust): only install components not included with rust itself 2024-12-18 08:52:06 +00:00
Jim Myhrberg
cc7d4a10d2 feat(shell): alias watch to hwatch if installed 2024-11-28 19:37:47 +00:00
938fd1be31 chore(shell/ruby): tidy up global gem list 2024-11-10 21:54:26 +00:00
Jim Myhrberg
cf161df584 feat(shell/ruby): add erb_lint to global package list 2024-10-21 10:03:31 +01:00
Jim Myhrberg
5990bc5975 feat(shell/python): add pipx to global package list 2024-10-18 12:23:39 +01:00
0ab34484d0 chore(shell/kubernetes): add completion setup for helm and helmfile 2024-10-18 12:14:46 +01:00
743f99db4f chore(shell/kubernetes): improve kubectx completion setup 2024-10-18 12:14:28 +01:00
Jim Myhrberg
4e461ad88c feat(util): add and setup restish CLI tool 2024-08-21 16:27:17 +01:00
Jim Myhrberg
d9cb73260e chore(shell): add custom command-path helper 2024-06-06 18:33:38 +01:00
54aed5d054 feat(shell/completion): add a custom override for fzf-tab-source 2024-05-21 02:56:29 +01:00
98f0b2ec66 feat(shell): major refactor around history and completion setup
Biggest change is embracing fzf for all shell completion. This includes
using tmux popup windows to effectively render completions as floating
popups with fuzzy matching via fzf.

Shell history has also been improved, with appending each command to the
history file one by one, rather than only at end of a shell session when
the shell exists. This should ensure I don't have any more lost commands
cause the shell didn't exit cleanly.
2024-05-19 00:08:04 +01:00
43be9196eb chore(shell): move interactive shell helpers to their own file 2024-05-18 01:34:49 +01:00
e6572caac9 fix(shell): fix typos 2024-05-18 01:32:46 +01:00
359f0642a6 chore(shell/kubernetes): minor tweaks 2024-05-18 01:16:34 +01:00
6f720ba985 feat(shell): create cached-eval helper to improve shell startup speed. 2024-05-18 01:16:31 +01:00
f30c675f3b fix(shell/1password): source cache file after updating it 2024-05-12 16:35:30 +01:00
53052def08 fix(shell/1password): automatically resolve shell completion issues
1Password's shell plugin integration is nice, but it currently uses
aliases to run various CLI tools through `op plugin run -- <tool>`.

This leads to shell completion for those tools not working correctly in
bash and zsh.

While zsh can work around that with `setopt completealiases`, it causes
shorthand aliases to break instead. Hence the only reasonable solution
is to replace the aliases with shell functions.

Previously I had manually been editing ~/.config/op/plugins.sh replacing
the aliases with functions. This is an automated solution that generates
unalias calls and function definitions for all 1Password aliases. It is
also efficient by means of writing the generated functions to a cache
file which is only updated when needed.
2024-05-12 16:28:08 +01:00
Jim Myhrberg
430e9053be feat(mise): add command wrapper function 2024-05-09 21:16:47 +01:00
Jim Myhrberg
f0c38533f5 feat(zsh/aliases): add root-ca shell function to print root CA certs for domains 2024-05-09 09:30:00 +01:00
698860e72c feat(tools): move over a few more tools to be managed by mise 2024-05-09 03:17:27 +01:00
abcff44c09 feat(ruby): add ruby-lsp to global package list 2024-05-09 02:27:17 +01:00
f7e1cb03e7 feat(tools/tldr): customize styling of Rust-based tlrc tldr client 2024-05-09 02:26:45 +01:00
9ece01a77e feat(tools): install Rust-based CLI tools with mise
Use `mise` to install and manage tools normally installed with
`cargo install`.
2024-05-09 02:24:22 +01:00
2cbd074bac feat(tools): install Node-based CLI tools with mise
Use `mise` to install and manage tools normally installed with `npm`.
2024-05-09 02:23:13 +01:00
1158360c21 feat(tools): install Go-based CLI tools with mise
Use `mise` to install and manage tools normally installed with
`go install`.
2024-05-09 02:21:17 +01:00
Jim Myhrberg
2569e63464 feat(zsh/go): add govulncheck to global package list 2024-04-29 09:36:07 +01:00
6f7dda418d fix(tools): install bat and exa via rust cargo again
Neither of them provide binary releases for Apple Silicon, meaning mise
cannot install them.
2024-04-03 10:40:39 +01:00
e77f402afd chore(zsh/rust): add gitu to global package list 2024-04-03 10:39:42 +01:00
b686b420e6 chore(tools): install bat and exa with mise instead of rust/cargo 2024-03-27 02:07:35 +00:00
e30d66b7e7 chore(zsh/macos): disable old hypernation hacks
It has been over 7 years since I first put these together. I have not
needed for years, and no clue if they still or, or if they're even save
to run on more recent versions of macOS.
2024-02-22 23:54:13 +00:00
65544c24cc chore(zsh/completion): improve completion setup for various commands 2024-02-22 23:52:26 +00:00
40d191251b feat(nodejs): add prettier-pnp to global package list 2024-02-19 00:47:52 +00:00
e911f1ecb9 feat(shell): add zoxide as cd replacement 2024-02-19 00:47:30 +00:00