diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt new file mode 100644 index 0000000..be0cf15 --- /dev/null +++ b/LICENSES/0BSD.txt @@ -0,0 +1,12 @@ +Copyright (C) 2025 by Kris Lamoureux + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/LICENSE b/LICENSES/GPL-3.0-or-later.txt similarity index 100% rename from LICENSE rename to LICENSES/GPL-3.0-or-later.txt diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..3ad7208 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) 2009-2016 Marcin Kulik + +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. diff --git a/README.md b/README.md index e1046b8..016757d 100644 --- a/README.md +++ b/README.md @@ -1,63 +1,29 @@ -## Kris' dotfiles -### Installation + -Clone the repository: +## Dotfiles -`git clone https://github.com/krislamo/dotfiles.git` +Use GNU Stow to slow down your home directory listings with my +[accumulated sludge](https://web.archive.org/web/20141205101508/https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp). -Symbolic linking is currently based on the working directory, so you must run the install script while you are inside its directory. Navigate into the repository: +### Setup -`cd dotfiles` +1. Clone into a subdirectory of `$HOME` and change into it -Now you will be successful running the install.sh script: + git clone https://git.krislamo.org/kris/dotfiles.git ~/.dotfiles && \ + cd ~/.dotfiles -`./install.sh` + - `stow` targets the parent directory by default, see `-t` +2. List directories for available configuration sets -#### Copyrights and Licenses + ls -d */ -`Files: .bash_aliases .gitconfig .bashrc .vimrc install.sh` +3. Dry run `stow` with `-n` against configuration sets and verify output before + running -Copyright (C) 2019-2020 Kris Lamoureux + stow -nv */ -This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with this program. If not, see . - ---- - -`Files: .bashrc` - -The original file is from Debian GNU/Linux's prepackaged version of the FSF's GNU Bash, -the Bourne Again SHell. This package was put together by Matthias Klose - -See package: for more information and copyright notices. - - ---- - -`Files: .vim/colors/monokai.vim` - -The MIT License (MIT) - -Copyright (c) 2009-2016 Marcin Kulik - -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. + - Use `-nvv` for more verbose output. diff --git a/bash/.bash_aliases b/bash/.bash_aliases index ce5b226..2ad8423 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2019-2022, 2025 Kris Lamoureux +# SPDX-License-Identifier: 0BSD + +# shellcheck shell=bash + # Local system administration # Alias management diff --git a/bash/.bashrc b/bash/.bashrc index 848bd68..e4c28f5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,3 +1,9 @@ +# SPDX-FileCopyrightText: 2019 Matthias Klose +# SPDX-FileCopyrightText: 2019, 2025 Kris Lamoureux +# SPDX-License-Identifier: GPL-3.0-or-later + +# shellcheck shell=bash disable=SC1090,SC1091 + # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples diff --git a/git/.gitconfig b/git/.gitconfig index 4088d70..f987f7d 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,7 +1,9 @@ +# SPDX-FileCopyrightText: 2019, 2022 Kris Lamoureux +# SPDX-License-Identifier: 0BSD + [core] editor = vim - -[include] - path = ~/.gitconfig_other [init] defaultBranch = main +[include] + path = ~/.gitconfig_other diff --git a/vim/.vim/colors/monokai.vim b/vim/.vim/colors/monokai.vim index 1b4f167..e278d7d 100644 --- a/vim/.vim/colors/monokai.vim +++ b/vim/.vim/colors/monokai.vim @@ -1,3 +1,5 @@ +" SPDX-FileCopyrightText: 2009-2016 Marcin Kulik +" SPDX-License-Identifier: MIT " Vim color file " Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration) diff --git a/vim/.vimrc b/vim/.vimrc index 9c1466b..53e476e 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,3 +1,6 @@ +" SPDX-FileCopyrightText: 2019, 2022 Kris Lamoureux +" SPDX-License-Identifier: 0BSD + syntax enable colorscheme monokai set number