Meaning of the files:
dot
the main script, rundot --help
for detail.config.zshrc
holds the common settings. Local settings must be placed in ~/.localrc.bundels.txt
holds the commands to be installed when rundot init
.
For heavy configuration app like vim, antibody... create a folder with this structure:
module
├── aliases.zsh
├── config_dir_sample.symlink
├── config_file_sample.symlink
├── install.sh
└── path.zsh
*.symlink
will create a symbolic link to the targeted file/folder.install.sh
will be run when init and update.*.zsh
all the .zsh file will be sourced in the.zshrc
aliases.zsh
holds the aliases for the app.path.zsh
holds command to append system path variable.- ...
- Fork this repo to be able to customize and sync your settings.
- Beware of hardcode:
- installation path must be
~/.dotfiles
. - some installation that can not be installed with the package manager, will be placed under
~/.locals
. - git username and email will be set to mine, if not preconfigured.
- installation path must be
Install with this command, but replace the repo with yours.
git config --global core.autocrlf input
git clone -q https://github.com/tungph/dotfiles.git ~/.dotfiles && ~/.dotfiles/dot init
# With new user create
sudo adduser shawn
sudo usermod -aG sudo shawn
sudo echo "shawn ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
sudo su - shawn
git clone -q https://github.com/tungph/dotfiles.git ~/.dotfiles && ~/.dotfiles/dot init
The philosophy and a lot of settings were copied from Carlos' dotfiles.