dotfiles / rc's
Some of my dotfiles made public, managed via rcm.
Install
- Install rcm via homebrew.
$ brew tap thoughtbot/formulae
$ brew install rcm
- Clone this repository into your $HOME.
$ git clone git@github.com:jwmann/dotfiles.git ~/.dotfiles
- Link up dotfiles using
rcup
.
$ rcup -v
Sections & Info
New host setup
Setting up a new machine? Run this initalization script for common homebrew apps
Configs
Sync common configs outside of this repo from NAS Make sure to Sync the Drive and make 'home/AppPrefs/config' available offline
$ ln -s ~/Library/CloudStorage/SynologyDrive-home/AppPrefs/config/* ~/.config/
Vim
My Vim setup utilizes vim-plug as a Plugin Manager.
My .vimrc
is setup to automatically download vim-plug should it not exist for some reason.
Run vim-plug's :PlugInstall
command within Vim to setup plugins.
Git
Various useful aliases and configs. Specifically not including a default editor as to rely on the terminal's set default editor.
Bash
Various useful aliases and configs.
-
.bashrc
is for the configuring the interactive Bash usage, like Bash aliases, setting your favorite editor, setting the Bash prompt, etc. -
.bash_profile
is for making sure that both the things in.profile
and.bashrc
are loaded for login shells.
Profile
.profile
is for things that are not specifically related to Bash, like environment variables $PATH and functions, and should be available anytime. For example,.profile
should also be loaded when starting a graphical desktop session.
Custom command: gituser
This command looks for 'config' files within ~/config/git/
A file named this work.user.config
can be included into the current git repo's config by doing gituser work
.
This allows you to change various config setting per repo easily depending on the context. ( e.g.: Work, Personal, School, etc.. )