Commit Graph

40 Commits

Author SHA1 Message Date
9526b57d38 chore(zsh): various tweaks to zsh env setup and helpers 2024-01-06 15:10:15 +00:00
10bf02e1b4 feat(homebrew): load/setup homebrew on Apple Silicon machines 2023-11-20 11:09:38 +00:00
5fba8ec527 chore(ruby): remove last remnants of rbenv setup, I use rtx instead 2023-09-18 11:37:18 +01:00
e87062e8ee feat(orbstack): shell setup for Orbstack (Docker Desktop replacement) 2023-09-18 11:37:17 +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
5feea990d4 feat(ruby): switch from rbenv to rtx for managing Ruby versions 2023-05-25 02:19:57 +01:00
01fc707a2b feat(rtx): update config and shims as needed by latest rtx version 2023-04-30 23:54:43 +01:00
06b5b5cd39 chore(rtx): move global tool versions to rtx config file 2023-03-21 01:21:47 +00:00
6e3154deba feat(nix): setup shell and env for nix 2023-03-09 23:35:18 +00:00
72dde13eb7 feat(rust): improve overall setup around Rust 2023-03-09 23:35:17 +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
2f62811220 feat(emacs): add hacky evm (Emacs Version Manager) script for Linux 2022-02-22 19:17:19 +00:00
46f5d8b64a chore(zshenv): add select zinit installed tools to PATH 2022-02-22 19:13:57 +00:00
57434a8d0d feat(zsh/nodejs): switch from nodenv to volta to manage node versions and tools 2022-02-15 11:23:21 +00:00
bb827fd809 chore(golang): remove MallocNanoZone fix
Go 1.17.6 fixes the Monteray -race issue.
2022-01-16 03:32:08 +00:00
22cebba662 fix(env): set env var to fix Go race detector issues on macOS Monterey 2021-11-15 17:21:34 +00:00
65211fe1c8 feat(kubernetes): add krew kubectl plugin manager 2021-08-30 22:44:38 +01:00
230034642a chore(emacs): improve emacs binary setup
Check for and use /Applications/Emacs.app/Contents/MacOS/bin/emacs if it
exists.
2021-08-30 22:42:27 +01:00
d12f5f38e1 chore(emacs): improve shell setup 2021-05-15 22:49:52 +01:00
66b00bdf67 revert(zshenv): remove needless PATH setup"
This reverts commit 4b947ab25f.

The PATH setup is obviously needed for tools that don't load an
interactive shell to work. That'll teach me to not update my dotfiles
when struggling to stay away ^_^
2021-04-19 10:53:38 +01:00
4b947ab25f chore(zshenv): remove needless PATH setup
Path setup for shim dirs of rbenv, pyenv, and nodenv are no longer
needed, as their init scripts are cached and loaded in the
background. And their init scripts will add the shim directories to
PATH.

The setup we're removing here are left-over from when all three tools
were being lazy loaded upon first use of the command, or first shell
completion for the command.
2021-04-19 01:16:36 +01:00
c0e71c965c feat(golang): install and manage Go versions with stefanmaric/g 2021-04-19 01:16:01 +01:00
2a0ae3af05 feat(golang): remove use of goenv
It's simpler to just have a single version of Go available, with goenv
lots of different modules/packages which have `.go-version` files, the
LSP server doesn't work correctly unless the specific version of Go is
installed.
2020-11-26 15:42:57 +00:00
ccf44dc3f7 chore: remove defunct paths from path list 2020-09-27 18:33:54 +01:00
be4c3e1599 feat(golang): use goenv to install and manage Go versions 2020-09-27 18:33:31 +01:00
90554015b7 chore(zsh): install rbenv, pyenv and nodenv with zinit instead of brew
Main benefit is that these tools will now auto-install correctly on
Linux systems too.
2020-09-25 21:13:34 +01:00
3dcc9a5545 Add support for nodenv for managing Node.js versions 2020-08-03 14:55:22 +01:00
712755da40 Use pyenv to manage python installation instead of homebrew 2020-07-04 13:17:47 +01:00
cdef65ae53 Format shell scripts with shfmt 2020-05-23 21:43:08 +01:00
a34e2d370e Reorder basic system paths slightly 2020-05-23 19:20:11 +01:00
6845aac296 Fix zsh completion issue on Ubuntu
Zinit manages completions internally, so compinit should not be called
before Zinit is loaded.
2020-05-09 01:08:35 +01:00
f9a9eab993 Fix typo 2020-05-04 20:54:12 +01:00
d068f4418b Remove needless semi-colons 2020-05-03 20:51:23 +01:00
cb247a8a9e Load zprof module if ZPROF env var a non-zero value 2020-05-03 19:51:45 +01:00
a0b2e5d240 Inline linuxbrew setup to save around 200ms on shell startup speed 2020-05-03 19:51:04 +01:00
07438d46b1 Add support for manually install rbenv 2020-04-07 01:23:53 +01:00
43f5ad7d93 Add support for linuxbrew (Homebrew for Linux) 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