I ❤️ dotfiles.
Dotfiles are what power your system. These are mine. They're mostly for OS X since that's what I use. My default shell these days is zsh. I use oh-my-zsh for managing lots of common stuff. All of the dotfile management is done with rcm and packages are managed with homebrew.
- Defaults for vim, tmux, git, iex, psql, and zsh shell.
- Version management for elixir, erlang, ruby, node, etc (via. mise)
- Lots of aliases for common commands.
- Installation software via homebrew. See Brewfile.
- Starship terminal prompt configuration.
- Hammerspoon configuration for macOS automation.
- Dash settings for offline docs and code snippets.
- iTerm themes
- Nerd Fonts
Running ./bootstrap.sh
will install all dependencies and create symlinks to all of the dotfiles. I try to make sure
its up to date but every now and then there is a missing dependency. If you want to set up your mac with the same
defaults that I do you can also run ./set-defaults.sh
. If you need to add new dotfiles or symlinks in the future then
you can simply run rcup
in the dotfiles dir.
gcom
- check out the default branchgib
- set the integration branch (defaults tomain
)gnf
- create a new feature branch based on the integration branchgsy
- sync branch with upstream integration branch and push to origingpl
- pullgpc
- push the current branch to origin
flowchart TD
CLONE[Clone Repo]
DEVELOP[Checkout develop branch \n <code>> gcod</code>]
INTEGRATION[Configure integration branch \n <code>> gib develop gibd </code>]
FEAT[Create a Feature branch \n <code>> gnf TK-421-my-feature-name </code>]
COMMIT[Commit some code \n <code>> git commit ... </code>]
SYNC[Push code upstream, sync with integration branch \n <code>> gsy </code>]
PR_EXISTS?{PR Exists?}
PR[Create a PR, maybe a draft]
MERGE_CONFLICTS?{Merge conflicts?}
RESOLVE_MERGE[Resolve merge conflicts]
FEATURE_COMPLETE?{Is the feature \n complete?}
CLONE --> DEVELOP --> INTEGRATION --> FEAT --> COMMIT --> SYNC --> PR_EXISTS?
PR_EXISTS? -->|no| PR -->|keep going| COMMIT
PR_EXISTS? -->|yes| MERGE_CONFLICTS?
MERGE_CONFLICTS? -->|no| FEATURE_COMPLETE?
MERGE_CONFLICTS? -->|yes| RESOLVE_MERGE -->|run again, stopped due to conflict| SYNC
FEATURE_COMPLETE? -->|yes| DONE
FEATURE_COMPLETE? -->|no, keep going| COMMIT
im
- run app in iexmtw
- run tests in watch modemtws
- run tests in watch mode, only rerun stale testsmps
- run the Phoenix servermdg
- get mix dependenciesmqc
- run the quick check mix task aliasmcov
- run tests with coverage and open the resultsnotebooks
- start Livebook
de
- edit these dotfiles- fzf - command-line fuzzy finder (ctrl-r)
pgst
- start postgres dbpgsp
- stop postgres db