aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.LICENSE.txt21
-rw-r--r--.README.md8
-rw-r--r--.bashrc_cxx5
-rw-r--r--.bashrc_distr5
-rw-r--r--.bashrc_git5
-rw-r--r--.bashrc_netwrix5
-rw-r--r--.bashrc_text5
-rw-r--r--.bashrc_third_party5
8 files changed, 59 insertions, 0 deletions
diff --git a/.LICENSE.txt b/.LICENSE.txt
new file mode 100644
index 0000000..80c5e0a
--- /dev/null
+++ b/.LICENSE.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+
+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 3228a5a..33a792b 100644
--- a/.README.md
+++ b/.README.md
@@ -54,3 +54,11 @@ The important thing to note is that the permissions are reset each time `git`
writes to a file.
It is thus necessary to execute the line above after each invokation of `git
pull`, `git checkout`, etc.
+
+License
+-------
+
+Distributed under the MIT License.
+See [.LICENSE.txt] for details.
+
+[.LICENSE.txt]: .LICENSE.txt
diff --git a/.bashrc_cxx b/.bashrc_cxx
index 0746912..e8a784e 100644
--- a/.bashrc_cxx
+++ b/.bashrc_cxx
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
C_FLAGS=('-Wall' '-Wextra')
runc() (
diff --git a/.bashrc_distr b/.bashrc_distr
index ad01f57..06d342a 100644
--- a/.bashrc_distr
+++ b/.bashrc_distr
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
checksums_path='sha1sums.txt'
update_checksums() {
diff --git a/.bashrc_git b/.bashrc_git
index 7d76e4b..276b643 100644
--- a/.bashrc_git
+++ b/.bashrc_git
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
list_repo_files() (
set -o errexit -o nounset -o pipefail
diff --git a/.bashrc_netwrix b/.bashrc_netwrix
index fb98fab..c20b32e 100644
--- a/.bashrc_netwrix
+++ b/.bashrc_netwrix
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
source .bashrc_git || return
source .bashrc_text || return
diff --git a/.bashrc_text b/.bashrc_text
index 3f5c4fd..5a678ee 100644
--- a/.bashrc_text
+++ b/.bashrc_text
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
alias dos2eol='sed --binary --in-place '"'"'s/\(\r\?\)$//'"'"
alias eol2dos='sed --binary --in-place '"'"'s/\r\?$/\r/'"'"
diff --git a/.bashrc_third_party b/.bashrc_third_party
index b276e5d..48c1137 100644
--- a/.bashrc_third_party
+++ b/.bashrc_third_party
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Cygwin configuration files" project.
+# For details, see https://github.com/egor-tensin/cygwin-home.
+# Distributed under the MIT License.
+
ensure_symlinks_enabled() {
case "${CYGWIN:-}" in
*winsymlinks:native*) ;;