Giter Site home page Giter Site logo

dotfiles's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.