Yet another work in progress dotfile manager
Inspired by holman/dotfiles and pearl-core
Dotly will be migrated to it's own repo, apart from my personal dotfiles, soon ™
- Sign into the app store to allow apps to be installed.
- Update git Name and Email in git/.gitconfig
git clone https://github.com/KarelCasier/dotly-dotfiles ~/.config/dotly
cd ~/.config/dotly
./bin/dotly install ~/.config/dotly/mac-profile
Note that Dotly can be installed anywhere and profiles can be seperate from dotly as well.
If you're not using the zsh module or prefer bash - add the following to the top of the profile:
export DOTLY=~/.config/dotly/
source $DOTLY/bin/startup.sh
More info coming soon
A profile is simply a txt file listing modules to use. Installing a profile simply symlinks the text file to a .current-profile
file at the root of dotly which is then used in the rest of the installation process as well as on shell startup. Any directory can be the base of user defined modules given that the profile file is at the root.
Each module contains a install.sh
script and a corresponding install
function that is called when installed using dotly (other functionality to come).
Optionally, each module can contain a startup.sh/zsh
that is sourced during the corresponding shell's startup.
- Auto add dotly
startup.sh
sourcing to.bashrc
and.zshrc
if they exist - Update module functions
- Uninstall module functions (called when switching to profiles that omit installed profiles)
- Quiet, Verbose and Force modes for commands
-
setup iTerm2 themes
-
setup caps lock -> esc mapping (Unable find a
defaults write ...
command) -
install vim plugins using
:PlugInstall
in vim -
install tmux plugins using
<prexix-I>
in tmux