diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..471f09f --- /dev/null +++ b/LICENCE @@ -0,0 +1,25 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to + diff --git a/README.md b/README.md new file mode 100644 index 0000000..eb0e06b --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Adrien Luxey's dotfiles + +ZSH, Tmux, Vim and Sublime Text dotfiles for Debian-based distros (`install.sh` using `apt`). + +## Usage + +Use `install.sh` to install the dependencies, Oh-My-Zsh, pull tmux and vim plugins, **remove your previous dotfiles** and symlink the new ones: + + $ ./install.sh -h + USAGE: ./install.sh [OPTIONS] + + OPTIONS: + -s|--sublime Install Sublime Text 3 + -h|--help Show this help + + The script will install dependencies once (remove $HOME/.installed to redo) and symlink dotfiles to their destination in your $HOME. + +If you want to do your own thing from these dotfiles, go read `install.sh`. + +## Licence + +Public Domain, i.e. do whatever you want with this, but don't come and complain. + diff --git a/install.sh b/install.sh index 4327838..95c6eb5 100755 --- a/install.sh +++ b/install.sh @@ -70,7 +70,7 @@ function installDependencies { fi echo "Pulling git submodules..." - cd $DOTDIR && git submodule update >> /dev/null 2>&1 + cd $DOTDIR && git submodule update --init >> /dev/null 2>&1 # Set ZSH as default shell if [ ! "$SHELL" = "$(which zsh)" ]; then diff --git a/vimrc b/vimrc index ddf41eb..901d23d 100644 --- a/vimrc +++ b/vimrc @@ -130,7 +130,8 @@ cmap w!! w !sudo tee > /dev/null % au BufNewFile,BufRead *.vim setlocal noet ts=4 sw=4 sts=4 au BufNewFile,BufRead *.txt setlocal noet ts=4 sw=4 -au BufNewFile,BufRead *.md setlocal spell noet ts=4 sw=4 +"#au BufNewFile,BufRead *.md setlocal spell noet ts=4 sw=4 +au BufNewFile,BufRead *.md setlocal nospell noet ts=4 sw=4 au BufNewFile,BufRead *.yml,*.yaml setlocal expandtab ts=2 sw=2 au BufNewFile,BufRead *.cpp setlocal expandtab ts=2 sw=2 au BufNewFile,BufRead *.hpp setlocal expandtab ts=2 sw=2