Commit Graph

1435 Commits

Author SHA1 Message Date
ddbbe283ff feat(shell/completions): tweak and improve fzf-based completion interactions 2024-05-21 02:21:58 +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
3a6e6a5256 fix(shell/cached-eval): find usable md5 command and improve reliability 2024-05-19 00:05:25 +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
e224c2219c fix(mise/tools): remove neovim and cargo-quickinstall 2024-05-18 01:16:34 +01:00
4a63857a49 fix(mise/tools): install actionlint via go instead of asdf plugin
The asdf plugin uses git to fetch a list of remove versions, which can
be quite slow, and also requires me to auth my ssh agent, which is not
ideal.
2024-05-18 01:16:34 +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
6858f50757 chore(mise): move settings back into single config.toml file 2024-05-12 21:57:37 +01:00
4e5644de9d feat(hammerspoon/noct): remove cmd+ctrl+s keybind for Music app 2024-05-12 17:53:32 +01:00
90617b48e0 feat(hammerspoon/noct): add keybind for show app info helper 2024-05-12 17:53:13 +01:00
995181f67f feat(hammerspoon/noct): don't URL handler anymore
For now, I'm trying out Arc as the main browser, and the Little Arc
feature doesn't play super nice when links open via Hammerspoon.
2024-05-12 17:52:13 +01:00
6336532081 fix(hammerspoon/window-management): move to space works with Arc browser 2024-05-12 17:51:14 +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
f399f5f085 feat(shell): add alias to function helpers
These can be useful to convert aliases to shell functions, which can
help resolve shell completion issues in some situations.
2024-05-12 16:28:08 +01:00
Jim Myhrberg
f3bf4ff98d fix(hammerspoon/hati): disable URL handling with Hammerspoon
When using Arc and having new links open in Little Arc while having
Hammerspoon set as the default browser, clicking a link first switches
to and focuses on the most recent main Arc window, before then opening
Little Arc.

While if Arc itself is the default browser, no such focus switching
happens, and instead Little Arc just opens and gets focus.
2024-05-10 17:49:41 +01:00
Jim Myhrberg
ee5c2284ea feat(karabiner): add emacs-ctrl-g-to-esc mondification JSON 2024-05-09 21:17:09 +01:00
Jim Myhrberg
430e9053be feat(mise): add command wrapper function 2024-05-09 21:16:47 +01:00
Jim Myhrberg
ee559256c1 feat(gitignore): add mise*.local.toml files 2024-05-09 21:16:30 +01:00
Jim Myhrberg
ba5ea568c8 fix(tools/awscli): remove awscli, the asdf plugin often hangs for minutes 2024-05-09 21:15:10 +01:00
Jim Myhrberg
7fff0e62af fix(hammerspoon/hati): use Arc as default browser via Hammerspoon 2024-05-09 21:14:36 +01:00
Jim Myhrberg
4e5259cd1e feat(hammerspoon/apptoggle): add showAppInfo() utility function 2024-05-09 21:14:17 +01:00
Jim Myhrberg
594022d8df fix(mise): hide missing tools notification in CLI
This often interferes with things that call shims and parse the output,
as output from shims will have a missing tool warning appended to the
end of the output.
2024-05-09 10:31:14 +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
Jim Myhrberg
bab3b33c97 chore(hammerspoon/hati): don't use hammerspoon as URL handler 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
3201add496 feat(hammerspoon/noct): switch cmd+ctrl+4 to HuggingChat 2024-05-09 02:28:36 +01:00
0704f6dbcc feat(mise): show env modification details when changing directory 2024-05-09 02:27:52 +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
8e67b0066a feat(tools): switch a few more tools from Homebrew to mise 2024-05-09 02:25:47 +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
24f6280608 feat(xbar/mise-updates): various tweaks and enhancements 2024-05-08 23:35:11 +01:00
Jim Myhrberg
5e3beb61dc feat(xbar/mise-update): display requested version 2024-04-29 09:56:26 +01:00
Jim Myhrberg
9b8135e84d feat(hammerspoon/host/hati): add keybind for HuggingChat 2024-04-29 09:37:13 +01:00
Jim Myhrberg
2569e63464 feat(zsh/go): add govulncheck to global package list 2024-04-29 09:36:07 +01:00
284e558669 fix(xbar/mise-updated): handle no outdated tools 2024-04-28 23:11:12 +01:00
f50e41b3bb feat(xbar): add experimental mise-updates script 2024-04-28 23:00:34 +01:00
Jim Myhrberg
770486fa48 feat(bin): add helper tool for running ollama server for Obsidian Copilot 2024-04-03 11:34:13 +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
5b28ca6028 chore(starship): tweak direnv display to be less annoying 2024-04-03 10:39:44 +01:00
7a81ddff58 chore(go): disable default Go package list
Some of the packages no longer install on older Go versions, causing
issues when trying to install such Go versions with mise.
2024-04-03 10:39:44 +01:00
e77f402afd chore(zsh/rust): add gitu to global package list 2024-04-03 10:39:42 +01:00
7fec239046 feat(starship): configure direnv and bun modules 2024-04-03 10:39:13 +01:00
c091274fb7 chore(starship): disable swift language indicator 2024-04-03 10:39:13 +01:00
010c790922 chore(starship): adjust symbols for Nerf Fonts v3.x 2024-04-03 10:39:13 +01:00