Skip to content

DSIW/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

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

Motivation

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.

Ruby versions

  • 1.9.3

Dependencies

Installation

  1. Clone into local system: git clone --recurse-submodules https://github.com/DSIW/dotfiles.git ~/.dotfiles
  2. Install colorize: gem install colorize
  3. Create config file: rake setup
  4. Edit config file ~/.dotfiles/.dotrc
  5. Add some dotfiles: rake add[glob]
  6. Link all dotfiles in ~/.dotfiles: rake install
  7. Have fun!

Rake Tasks

  • 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 Vundle
  • rake 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 bin
  • rake 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.

Sources

The Rakefile is created of these other Rakefiles and software:

Copyright / License

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.

Contributing

Contributions are welcome and encouraged. The contrubution process is the typical Github one.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published