Commit Graph

36 Commits

Author SHA1 Message Date
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
5e382e2cc1 Add vterm integration needed by emacs-libvterm 2020-08-03 14:56:16 +01:00
dec90dd1c9 Improve display of ZSH completions 2020-07-04 18:43:44 +01:00
cdef65ae53 Format shell scripts with shfmt 2020-05-23 21:43:08 +01:00
d4d64f654e Add command-exists shell helper 2020-05-23 19:16:06 +01:00
ae51a0af6d Simplify Zinit package install definitions 2020-05-08 23:24:56 +01:00
78b47c9884 Offer automatic install of Zinit if not already installed 2020-05-08 23:23:52 +01:00
e653919133 Tweak zinit plugin loading order 2020-05-04 09:21:22 +01:00
d068f4418b Remove needless semi-colons 2020-05-03 20:51:23 +01:00
d781d3d48e Switch from zplug to zinit for ZSH plugins
Zinit allows near instant shell startup by loading plugins in the
background after initializing the shell. This has yielded a 60-70ms
startup time instead of around 360ms as it was with zplug.

And even if you disable the background loading, zinit itself is still
faster at around 130ms.
2020-05-03 20:06:38 +01:00
d9ecb49703 Remove source call for defunct file 2020-05-03 20:05:29 +01:00
4c2c4418e1 Move zplug cache and repos directories to ~/.local/zsh/zplug
Instead of keeping them within the dotfiles repo itself.
2020-04-07 00:55:45 +01:00
f55a087fe1 Fix PATH setup on macOS 2020-02-22 18:14:58 +00:00
80c77c8c2b Refactor shell setup into ~/.zshenv and ~/.zshrc files
It was time to split the environment related stuff out to ~/.zshenv,
leaving my ~/.zshrc file specifically for setup of interactive shells.
2020-02-22 14:27:19 +00:00