Organized dotfiles give you command line superpowers.
This was heavily inspired by Getting Started With Dotfiles, which is a must-read.
git clone git@github.com:Aylr/dotfiles.git- IMPORTANT Backup your existing
~/.bash_profile,~/.zshrc, and~/.gitconfigor you will have data loss. - In the repo's
.bash_profile, update the full path to this repo, including the trailing slash.DOTFILE_DIR=/Users/taylor/repos/dotfiles/
- Update the username and email address in the
.gitconfigfile. - From the repo directory, run
brew.shto install a few programs with brew. - From the repo directory, run
install.sh. All this really does is drop symlinks into your home directory, which you can easily do yourself after you backup existing files!
-
Piles of useful aliases
-
A lightning-quick journaling utility
- View your current entry with
jj - Create or edit the current day's entry with
jj -ewhich uses your$EDITOR
Journaler. If no date is specified, today will be used. Input can be piped in or added as a positional argument in a string. Piped input takes precedence. Arguments: -d --date desired date for entry -b --base_dir base directory to create files Options -e --edit open entry in editor - uses \$EDITOR if available -h --help show this help and exit -v --verbose show verbose output Usage journal.sh View today's entry journal.sh -e Edit today's entry journal.sh "TIL something neat" Add a note to today's entry journal.sh "TIL something neat" -e Add a note to today's entry and edit journal.sh -d 2020-01-01 View the entry from 1/1/20 cat file.txt | journal.sh Pipe file.txt into today's entry
- View your current entry with
- Non secret exports are kept in
bash/.exports - Secret exports are kept in
bash/.secrets, which are of course in the.gitignore
