added README and LICENCE
This commit is contained in:
parent
334890dcc5
commit
32ba72e8c6
4 changed files with 51 additions and 2 deletions
25
LICENCE
Normal file
25
LICENCE
Normal file
|
@ -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 <http://unlicense.org/>
|
||||||
|
|
23
README.md
Normal file
23
README.md
Normal file
|
@ -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.
|
||||||
|
|
|
@ -70,7 +70,7 @@ function installDependencies {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Pulling git submodules..."
|
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
|
# Set ZSH as default shell
|
||||||
if [ ! "$SHELL" = "$(which zsh)" ]; then
|
if [ ! "$SHELL" = "$(which zsh)" ]; then
|
||||||
|
|
3
vimrc
3
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 *.vim setlocal noet ts=4 sw=4 sts=4
|
||||||
au BufNewFile,BufRead *.txt setlocal noet ts=4 sw=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 *.yml,*.yaml setlocal expandtab ts=2 sw=2
|
||||||
au BufNewFile,BufRead *.cpp 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
|
au BufNewFile,BufRead *.hpp setlocal expandtab ts=2 sw=2
|
||||||
|
|
Loading…
Reference in a new issue