donaldguy / dotfiles

is more about rainbows than you might expect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

donaldguy's Dotfiles

Its 2021 and being funemployed has re-awakened some of my nerd heart and I've been moving back towards playing around with more silly power tooling.

Shell

Have played with kitty but for now still an iTerm2 user

.zshrc

I'm rocking a pretty vanilla macOS zsh with Pure-style Powerlevel10k in which notably typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=same-dir (something I don't believe the config wizard offers still). I am waffling about trying going back to starship now that I don't use asdf so much. p10k is very fast, but its so closely tied to zsh with all its caching – I might wanna branch out.

I've taken on pretty much all of @zaiste's recommendations from his popular "Rewritten in Rust" blog post and let:

  • bat take over for cat
  • batman take over for man (but leaving \man at reach)
  • lsd (not exa ) take over for ls – with directories first , -F (indicators), and date: relative ; I also committed heresy and dropped user and group from default ls -l

.gitconfig

I am a supporter of @tesseralis's school of thought on naming initial/trunk branches as canon

I am a firm believer that pull.rebase should always be true (or merges I guess) and rebase.autoStash should always betrue`

I carry one alias in my normal .zshrc and it's

groot() {
  cd "$(git rev-parse --show-toplevel)"
}

Going off bat-extras, I picked up delta as a differ and its pretty neat.

When I want to do messy add -p's or restore -p's (or just like a big old diff --cached before pushing) I use Fork.app. It's also a good merge tool.

🌈 πŸ”¨ πŸ₯„ 🌈

I have started playing with pushing out Dock.app , and Finder.app for uBar , Path Finder and Contexts

Much of this is leveraged to the end of having Maximum Rainbows unperturbed by pesky defaults like a trashcan!.

Hammerspoon is leveraged currently to the task of maintaining good rainbows and appropriate allocation of work space when my primary machine moves between behaving like a laptop and being connected to my absurd (and honestly kinda low res in practice, cause non HiDPI is painful actually) 49" widescreen monitor

Laptop πŸ’» Mode

When the internal display is detected (or in principle another 16:9 shaped monitor) things are arranged like this:

How things are laid out on 16:9 internal monitor

Workstation πŸ–₯️ Mode

When plugged into the B.A.M. things get kicked around by Lua to look like this instead: How things are laid out on 32:9 external monitor

I also wrote some keyboard.io firmware that tries to match the wallpaper with the LEDs. You can also find that in this repo :

Rainbow swoop keyboard.io Model 01 LEDs

About

is more about rainbows than you might expect


Languages

Language:Shell 70.9%Language:C++ 17.4%Language:Lua 10.6%Language:Makefile 1.0%Language:C 0.1%