My Dotfiles
There are my personal dotfiles. They are managed using:
CLI
- direnv: Securely loads or unloads environment variables depending on the current directory.
- Homebrew for macOS package management.
- Homesick for managing dotfiles.
- Just
π€ Just a command runner. - Modd A flexible developer tool that runs processes and responds to filesystem changes.
- Spacegray terminal theme.
- Starship The minimal, blazing-fast, and infinitely customizable prompt for any shell.
GUI
- Alfred: Productivity tool and Alfred Powerpack.
- Hammerspoon: An macOS automation tool (tiling windows manager)
Python
- pip: The PyPA recommended tool for installing and managing Python packages.
- pipenv: Pipenv is a project that aims to bring the best of all packaging worlds to the Python world.
- pipx: execute binaries from Python packages in isolated environments.
- pyenv: Simple Python version management.
Installation
- Bootstrap our environment (install ansible via pipx)
$ make bootstrap
- Let ansible do its thing
$ make install
Justfile Usage
$ just --justfile=./home/justfile
Available recipes:
bootstrap
cleanup
fmt
freeze
homebrew-services
homesick-symlink
outdated
pip-update
pipx-upgrade
postgresql-upgrade
pyenv-global
pyenv-upgrade +ARGS="--skip-existing"
pyenv-upgrade-all +ARGS="--skip-existing"
python-update
restart
stop
symlink
timemachine
topalias
update
update-readme-docs
upgrade
upgrade-xcode
virtualenv-scan
virtualenv-upgrade
workon
Hammerspoon Keyboard Shortcuts
Action | Key Combination |
---|---|
hyper | ctrl + opt + cmd |
meta | cmd + shift |
reload config | hyper + r |
show grid | hyper + g |
make full screen | hyper + m |
center and 60% | hyper + c |
move to left half | hyper + left |
move to right half | hyper + right |
move to top half | hyper + up |
move to lower half | hyper + down |
move to upper left (25%) | ctrl + opt + shift + left |
move to upper right (25%) | ctrl + opt + shift + up |
move to lower left (25%) | ctrl + opt + shift + down |
move to lower right (25%) | ctrl + opt + shift + right |
move to next monitor | ctrl + opt + right |
move to previous monitor | ctrl + opt + left |
Terminal theme
Inspiration / Thank you!
- The Geeky Way: What are dotfiles?
- https://github.com/epicserve/dotfiles
- https://github.com/geerlingguy/mac-dev-playbook
- https://github.com/JohnColvin/.maid/blob/master/rules.rb
- https://github.com/mathiasbynens/dotfiles/blob/master/.osx
- https://github.com/mitchty/src/blob/master/dotfiles/maid/rules.rb
- http://blog.palcu.ro/2014/06/dotfiles-and-dev-tools-provisioned-by.html
Contact / Social Media
Here are a few ways to keep up with me online. If you have a question about this project, please consider opening a GitHub Issue.