These dotfiles are configuration files, which I use. There are more in my home directory, but I don't like to publish these, because they contain sensitive information.
If you want to see any more, please contact me.
Author: DSIW
E-Mail: dsiw@dsiw-it.de
Repository: DSIW/dotfiles
Some guys of you ask yourself why did I do this? I did it because it's very good for versioning in systems with more than one computer. You can synchronize your dotfiles easily through this script. I use it nearly every day and I love it.
- 1.9.3
- colorize (optional)
- Clone into local system:
git clone --recurse-submodules https://github.com/DSIW/dotfiles.git ~/.dotfiles
- Install
colorize
:gem install colorize
- Create config file:
rake setup
- Edit config file
~/.dotfiles/.dotrc
- Add some dotfiles:
rake add[glob]
- Link all dotfiles in
~/.dotfiles
:rake install
- Have fun!
rake add[glob]
– Add files to dotfiles repository.
rake add["~/.*[^~]"]
rake dotfiles
– List your dotfiles
Rake is managing 17 files:
* vim.symlink
* vim.symlink/vimrc.symlink
* vim.symlink/gvimrc.symlink
* git.symlink
* oh-my-zsh.symlink
* gemrc.symlink
* zsh.symlink/zshrc.symlink
* zsh.symlink/aliasrc.symlink
* urlview.symlink
* git.symlink/gitconfig.erb
...
rake info
– Information about this Rakefile
Author: DSIW (dsiw@dsiw-it.de)
Repository: https://github.com/DSIW/dotfiles
You have installed the gem 'colorize'!
Thanks for using and have fun.
rake init_vim
– Init VIM with Vundlerake init_zsh
– Switch to ZSH (install unless exists)rake install
– Hook our dotfiles into system-standard positions.
linking to /home/dsiw/.vim
linking to /home/dsiw/.vimrc
[...]
Done.
rake install_bin
– Install script to binrake list
– list tasks
Tasks: add, default, dotfiles, info, init_vim, init_zsh, install, install_bin, remove, setup, sync, uninstall, update
(type rake -T for more detail)
rake remove[glob]
– Remove files from dotfiles repository.rake setup
– Setup your .dotfiles directory and will create .dotrc config file.rake sync
– Sync dotfiles with filesystem
rm /home/dsiw/.vim
rm /home/dsiw/.vimrc
[...]
linking to /home/dsiw/.vim
linking to /home/dsiw/.vimrc
[...]
Done.
rake uninstall
– Delete all symlinked files from home dir.
rm /home/dsiw/.vim
rm /home/dsiw/.vimrc
[...]
Done.
rake update
– Update all dotfiles and sync them
<Pulling>
rm /home/dsiw/.vim
rm /home/dsiw/.vimrc
[...]
linking to /home/dsiw/.vim
linking to /home/dsiw/.vimrc
[...]
Done.
See rake -T
for all available tasks.
The Rakefile is created of these other Rakefiles and software:
Copyright (c) 2012 DSIW dsiw@dsiw-it.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contributions are welcome and encouraged. The contrubution process is the typical Github one.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request