These are my dotfiles
I had a highly-tweaked vim config for many years. Then I started working in a non-scripting language, and I gave spacemacs a try, and ended up using that for quite a while. Unfortunately its development pace hasn't scaled well with the project's popularity, and I tried Atom for a while. I like it, but Atom has some rather problematic core bugs that make it unusable on my employer's network, so I'm back to Emacs. This time around, I decided to give Henrik Lissner's doom-emacs a try, and quite like it. My private module is here.
After years of using zsh with a cargo-culted configuration, I gave up on it and switched to the Friendly Interactive Shell, aka fish. It has a simplified scripting language, has sane defaults, and straightforward auto-complete features. There's not much to see in the config file, because fish doesn't believe in configurability. I'm using oh my fish to manage most of the config.
Before I started using Magit, I got to know the git command line pretty well, and got really into creating custom aliases. Here are a few:
commit --amendafter an accidental
commit -amendand instead of
--amendthat took an hour to undo, I started this list.
log -S<term>searches your git history for term
cleanup: removes all local branches merged into HEAD
cleanup-remotes: removes all remote branches merged into HEAD.
delete <remotename> <branchname>: Deletes branch from remote
merge --no-fftakes some branches and merges them in, keeping their full branch and commit history.
reset --hard <refspec>hard resets to the given refspec
tag -acreates an annotated tag, for versioning or such
diff --cacheddisplays the contents of the index
tag-release: Creates an unannotated tag named
release/YYYY/MM/DD/HHMM. Preferably, your build tools do this instead.
track <remote refspec>:
checkout -t <remote refspec>checks out a remote branch as a local branch and sets tracking.
reset --soft HEAD^Revert a commit, but leave its contents as staged.
reset HEAD -- <path>removes
pathfrom the index
remote update --prunefor each remote, fetches and prunes.
bash -c "$(curl -fsSL https://github.com/mattly/dotfiles/blob/master/install/mac_bootstrap)"
This gets you homebrew, a pub key to put on GitHub, git, this repository cloned, the config files symlinked, .emacs.d, and fish as the default shell.
brew bundlethe desired files in