A framework for constructing a standardized setup for dotfiles.
Defaults:
EDITOR='vim'
PROJECT_BASE_DIR="$HOME/Development"Run this:
git clone git@github.com:bedrock-env/bedrock.gitFrom the bedrock directory, run:
./script/bootstrapbootstrap prompts for some configuration details such as your git author name
and git author email. It then symlinks config files, runs script/install to install
additional requirements, then installs any present extensions.
- Reload your terminal window or switch directories
If you wish to override things like PROJECT_BASE_DIR, do so in ~/.localrc.
The recommended font to use in iTerm2 and Terminal is InputSans-Regular from the Input font collection.
- Obtain the Input font collection
- Copy
InputMono-Regular.ttfto~/Library/Fonts
- Open iTerm2 -> Preferences -> General.
- Check "Load Preferences from a custom folder or URL"
- Set custom path to
$BEDROCK_DIR/config - Relaunch iTerm2
- Go to iTerm2 -> Preferences -> Profiles. Select the bedrock profile. Select the "Colors" tab.
- Select "Load Presets" -> "Import..."
- Select
iterm2/bedrock.itermcolors - Relaunch iTerm2
- Note: you may have to restart your machine for the shell settings to take effect
- Uncheck "Load Preferences from a custom folder or URL"
- Open iTerm2 -> Preferences -> General.
- Check "Load Preferences from a custom folder or URL"
- Set custom path to
$BEDROCK_DIR/config. - iTerm will pop up a dialog box asking
Copy local preferences to custom folder now?. AnswerDon't Copy. - Close the Preferences dialog and relaunch iTerm2.
- Go to iTerm2 -> Preferences -> Profiles. Select the bedrock profile.
- If the "bedrock" profile is not available, it's probably because you
previously chose
Copyinstead ofDon't Copy. Go back and try again.
- If the "bedrock" profile is not available, it's probably because you
previously chose
- Select the "Colors" tab.
- Select "Color Presets..." -> "Import..."
- Choose the file
$BEDROCK_DIR/config/bedrock.itermcolors - Select "Color Presets..." -> "bedrock", which is now available as a choice.
- Relaunch iTerm2
- Note: you may have to restart your machine for the shell settings to take effect
- Uncheck "Load Preferences from a custom folder or URL"
- Open Terminal -> Preferences -> Profiles
- Import
terminal/bedrock.terminal - Set dtm as the default
- bin/: Anything in
bin/will get added to your$PATHand be made available everywhere. - topic/*.zsh: Any files ending in
.zshget loaded into your environment. - topic/path.zsh: Any file named
path.zshis loaded first and is expected to setup$PATHor similar. - topic/completion.zsh: Any file named
completion.zshis loaded last and is expected to setup autocomplete. - topic/*.symlink: Any files ending in
*.symlinkget symlinked into your$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap. - topic/install.sh: Any files named
install.shwill run whenscript/installis executed.