Commit Graph

989 Commits

Author SHA1 Message Date
a77e45eb97 feat(prompt): minor tweak to starship's cmd_duration module style 2022-02-07 11:41:34 +00:00
8e5bf7f30b feat(brewfile): add keycastr cask 2022-02-07 11:40:26 +00:00
d6b7578017 chore(Brewfile): remove various powerline fonts
I basically only use Menlo, so let's skip the rest.
2022-01-29 01:49:13 +00:00
122ddfa150 feat(fonts): add nerd fonts 2022-01-29 01:47:36 +00:00
f7aeb22f94 fix(zsh/prompt): ensure correct ordering of components in right prompt 2022-01-28 22:36:39 +00:00
42ffc04c37 feat(zsh/prompt): major update to starship config 2022-01-28 22:13:21 +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
bb827fd809 chore(golang): remove MallocNanoZone fix
Go 1.17.6 fixes the Monteray -race issue.
2022-01-16 03:32:08 +00:00
4e43aacaf1 fix(xbar/brew-updates): upgrade all actions now only update listed packages
Previously when upgrading all, no package names were passed in, meaning
if a new package has become available since the xbar script last ran,
that would be updated too.

Now instead each listed package in the xbar menu is explicitly passed to
brew.
2022-01-16 03:27:40 +00:00
f864236203 chore(hammerspoon): update global app hotkeys 2022-01-16 03:26:39 +00:00
d3d52dd59e feat(brewfile): add git-delta package 2022-01-16 03:26:07 +00:00
a29afc1b72 fix(xbar/brew): do not bring xbar into focus when triggering plugin refresh 2021-11-26 10:36:59 +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
630558dce2 wip(xbar/brew-services): update xbar printer class
Adds the updated xbar printer class from brew-updates, which simplifies
the shell syntax.
2021-11-09 12:23:56 +00:00
ac48156a18 fix(xbar/brew-updates): refresh xbar plugin after update in terminal completes
Previously the xbar plugin would refresh as soon as you clicked on an
update, but since brew upgrades takes much longer to run in the popped
up terminal window. This now uses the xbar:// URI scheme to trigger a
plugin refresh after the brew commands have run in the terminal.
2021-11-09 12:08:17 +00:00
dc9a4fe8d8 fix(userstyles): update URLs in metadata to point a main branch 2021-11-03 11:02:40 +00:00
f6f1742c54 chore(xbar/brew-updates): updates screenshot URL 2021-11-02 00:22:38 +00:00
dcc0dc004b chore(xbar/brew-updates): bump version to 2.1.0 2021-11-02 00:06:38 +00:00
af076a53c2 chore(xbar/brew-services): bump version to 2.1.0 2021-11-02 00:06:03 +00:00
db56df859d feat(xbar/brew-updates): improve label tests and counts 2021-11-01 23:58:49 +00:00
ac89310eeb feat(xbar/brew-updates): move update all actions to overview status menu 2021-11-01 23:58:49 +00:00
58d4660009 feat(xbar/brew-services): support error and unknown services statuses
Also work around an issue where "brew services list" does not print the
status at all for some running services, so it instead just prints the
service name and the user it's running under.
2021-11-01 23:58:49 +00:00
45032db1d1 feat(xbar/brew-services): tweak description 2021-11-01 23:58:39 +00:00
e150c19f2b feat(xbar): brew-services: add start/stop/restart all actions 2021-11-01 01:14:22 +00:00
372e28a15c chore(xbar): brew-services: update screenshot URL 2021-11-01 01:02:17 +00:00
0cda202b4f feat(xbar): brew-services: add restart option for running services 2021-11-01 00:54:06 +00:00
423a36d245 chore(xbar): add abouturl to xbar plugins 2021-11-01 00:31:53 +00:00
2ec059e554 feat(xbar): merge brew cask/formula plguins into brew-updates 2021-11-01 00:06:42 +00:00
0f71533a8c feat(xbar): switch to xbar (BitBar replacement) and re-write my scripts
This is a complete rewrite of my old scripts, and a wholesale
replacement of BitBar's "brew-services" script with a more feature
packed variant.
2021-10-31 22:39:25 +00:00
deaa9aebc8 feat(setup): make install.sh compatible with GitHub Codespaces 2021-10-29 11:37:21 +01:00
61c8350b6c chore(solargraph): exclude more annoying cops from formatter 2021-10-29 11:36:34 +01:00
a56c0b54fa feat(bins): add envy command
Quick and hacky bash script which supports loading .envrc files suitable
for direnv, but with support for local override files, and named
environment files, and supports looking for the .envrc* files upwards in
parent folders.

For example, when you run:

    envy echo hi

It will look in the current folder, and all parent folders for any files
named:

- .envrc
- .envrc.local
- .envrc.echo
- .envrc.echo.local

The first such file that is found is considered to be in the project
root, and all further files checked for will only be checked for in said
project root.

The first argument to envy is considered a environment name if there is
a matching .envrc.<name> file. If not such machine file is found, the
first argument is treated as part of the command you want to run.

Meaning with the above example, if ".envrc.echo" or ".envrc.echo.local"
exists, the command that will be executed is "hi", but if neither of
them exist, it will execute "echo hi".

To define environment variables in a .envrc* file, you use use bash's
export statement.
2021-09-15 19:21:07 +01:00
908ea4236f chore: minor tweaks to zshrc 2021-08-30 22:55:24 +01:00
4b2d163f7d feat(go): add jsonnet and jsonnetfmt commands to default packages 2021-08-30 22:54:49 +01:00
c9f86c4c3d chore(node): add yaml and json language servers to default list of packages 2021-08-30 22:54:27 +01:00
bb8fb0ca50 chore(python): add passlib to default installed python packages 2021-08-30 22:54:05 +01:00
b6ae43d426 fix(hammerspoon): fix moveWindowToSpace after API change in Hammerspoon 2021-08-30 22:53:19 +01:00
16bd403bae chore(completion): add support for custom site-functions directory 2021-08-30 22:52:31 +01:00
2d6ab21a97 feat(hammerspoon): bind Fastmate to cmd+ctrl+d instead of Mail.app
I'm prefering Fastmail's webui more than Apple's native email client,
and Fastmate is a nice wrapper app around the webui.
2021-08-30 22:51:00 +01:00
f302739ea6 fix(docker): set co alias to use old docker-compose command
The dc alias still uses "docker compose" to access the newer built-in
compose command. I still was quick access to the older one, as I've had
some edge-case issues with the built-in variant.
2021-08-30 22:49:01 +01:00
6836f03afe feat(ruby): exclude test directories from solargraph language server 2021-08-30 22:48:32 +01:00
e520db7abc fix(bitbar): brew cask updates script didn't work due to changes in brew 2021-08-30 22:47:03 +01:00
44d44c7524 chore(alacritty): update config file for Alacritty 0.9.x 2021-08-30 22:46:09 +01:00
7e5739ed4c feat(kubernetes): add and lazy-load kubectx switcher tool 2021-08-30 22:45:14 +01: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
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
3905c4a893 chore(userstyle): rename github syntax highlight theme 2021-08-26 10:55:27 +01:00