Commit Graph

63 Commits

Author SHA1 Message Date
cb7d47965d chore(zsh/fzf): set height to 100% when tmux is not available 2024-10-20 23:52:06 +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
6562df1c19 fix(shell/completions): fix typo 2024-05-21 02:52:43 +01:00
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
6f720ba985 feat(shell): create cached-eval helper to improve shell startup speed. 2024-05-18 01:16:31 +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
430e9053be feat(mise): add command wrapper function 2024-05-09 21:16:47 +01:00
f7e1cb03e7 feat(tools/tldr): customize styling of Rust-based tlrc tldr client 2024-05-09 02:26:45 +01:00
0b183f8acd fix(zsh/completion): ensure brew and brew installed shell completion works 2024-02-23 01:24:01 +00:00
edcf9c122d fix(zshrc): smoother initial run and tool installation 2024-02-22 23:53:24 +00:00
65544c24cc chore(zsh/completion): improve completion setup for various commands 2024-02-22 23:52:26 +00:00
e911f1ecb9 feat(shell): add zoxide as cd replacement 2024-02-19 00:47:30 +00:00
bf27ad21e4 chore(zshrc): minor tweak to mise setup 2024-02-04 00:10:02 +01:00
bf92527b6a feat(tools): migrate to mise (formally known as rtx) 2024-01-06 18:59:12 +00:00
9526b57d38 chore(zsh): various tweaks to zsh env setup and helpers 2024-01-06 15:10:15 +00:00
12505e939a chore(zshrc): fix typo 2023-11-20 11:11:43 +00:00
49a28ce05e chore(zsh/completions): disable completealiases
This prevented aliases from being completed via their original command
that they're aliasing.
2023-09-18 11:37:18 +01:00
4cd9893126 chore(rtx): install via official script instead of zinit
A bit more code, but should make installation more reliable, as zinit
often has issues detecting the correct binary/tarball to download from
GitHub releases.
2023-09-18 11:37:17 +01:00
266c6dcfac feat(kubernetes): remove tools, simplify setup and rely on rtx 2023-05-25 02:23:33 +01:00
e1105afa0c feat: move various various tools to be managed with rtx 2023-05-25 02:19:11 +01:00
b5a3dc2e4e feat(shell): add neovim specific helpers 2023-04-21 15:12:45 +01:00
50b21937b3 feat(shell): setup for GitHub Copilot CLI 2023-04-21 15:00:37 +01:00
7b52ea47ec chore(rtx): fix issue shell completion setup 2023-04-05 00:27:16 +01:00
06b5b5cd39 chore(rtx): move global tool versions to rtx config file 2023-03-21 01:21:47 +00:00
08c8ac784d feat(git): add git-largest-objects helper 2023-03-09 23:35:18 +00:00
6e3154deba feat(nix): setup shell and env for nix 2023-03-09 23:35:18 +00:00
664f06bbdb refactor: use rtx to manage Go, Python, NodeJS, and more
This means g, pyenv, and volta are gone. And a lot of other tools
previously installed with zinit are also installed with rtx now instead.

This includes starship, direnv, shfmt, jq, and more.
2023-03-09 23:35:17 +00:00
0a17bbfadb feat: add 1Password CLI integration 2023-03-09 21:53:01 +00:00
837d8065d2 chore(zsh): add various podman aliases 2022-07-28 00:09:27 +01:00
568ffd3718 chore(zsh): remove oh-my-zsh theme snippets
As I'm using starship for the prompt, there's no need to support
oh-my-zsh themes anymore.
2022-04-28 12:35:43 +01:00
3b3c6ab3a8 feat: install jq via zinit if it is not already available 2022-04-28 12:35:43 +01:00
65f2a8cfaf feat(aliases): remove git aliases which I don't use 2022-04-28 12:35:42 +01:00
44ea1976e4 chore(zinit): switch to newer for-syntax for zinit declarations 2022-04-28 12:35:42 +01:00
1455f9d4b7 fix: update zinit module load path 2022-02-23 11:45:20 +00:00
3a8e056351 feat(zsh/prompt): switch to starship prompt
Replace my custom plain zsh prompt theme with starship, and configure it
to my liking.
2022-01-28 11:49:16 +00:00
2d1bab7c71 fix(zsh): update zinit repo URLs to point to newly maintained fork 2022-01-28 11:44:55 +00:00
908ea4236f chore: minor tweaks to zshrc 2021-08-30 22:55:24 +01:00
16bd403bae chore(completion): add support for custom site-functions directory 2021-08-30 22:52:31 +01:00
9d7a23615c feat(dev): lazy-load scaleway CLI completions 2021-08-30 22:27:29 +01:00
08a42fc019 feat(completion): switch from peco to fzf for command history completion
And also setup and configure fzf zsh plugins:

- ctrl+r searches shell history.
- ctrl+t searches for files and folders by name recursively within
  current directory while previewing highlighted item via less.
- alt+c recursively lists directories within current directory, and
  changes to the selected directory.
2021-08-30 22:21:39 +01:00
680b3443b8 feat(zinit): add support for zinit's zsh module 2021-04-19 02:20:16 +01:00
1eaf05fefa feat(emacs): improve vterm helpers for use within Emacs 2021-04-19 01:09:42 +01:00
a78f03da34 chore(deps): install rclone with zinit instead of Homebrew 2021-02-02 19:54:35 +00:00
09af945a93 feat(shell): add C-x C-e keybinding to open current command in EDITOR 2020-10-09 10:53:58 +01:00
c0508d6d31 feat(env): add direnv shell setup and installation via zinit 2020-09-11 18:05:39 +01:00