aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.bash_utils/path.sh4
-rw-r--r--%HOME%/.bashrc5
-rw-r--r--%HOME%/.profile5
3 files changed, 14 insertions, 0 deletions
diff --git a/%HOME%/.bash_utils/path.sh b/%HOME%/.bash_utils/path.sh
index 48b840e..d371ff3 100644
--- a/%HOME%/.bash_utils/path.sh
+++ b/%HOME%/.bash_utils/path.sh
@@ -5,6 +5,10 @@
# For details, see https://github.com/egor-tensin/linux-home.
# Distributed under the MIT License.
+# These are a couple of routines that allow you to add to your $PATH correctly
+# and safely. Originally added as a dependency for other routines, currently
+# are unused. TODO: remove?
+
path_add() (
set -o errexit -o nounset -o pipefail
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 7df126d..d0a0d1e 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -1,3 +1,8 @@
+# Copyright (c) 2018 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Linux/Cygwin environment" project.
+# For details, see https://github.com/egor-tensin/linux-home.
+# Distributed under the MIT License.
+
case "$-" in
*i*) ;;
*) return ;;
diff --git a/%HOME%/.profile b/%HOME%/.profile
index b1e7153..94a3201 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -1,3 +1,8 @@
+# Copyright (c) 2018 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Linux/Cygwin environment" project.
+# For details, see https://github.com/egor-tensin/linux-home.
+# Distributed under the MIT License.
+
if command -v vim > /dev/null 2>&1; then
export EDITOR=vim
elif command -v nano > /dev/null 2>&1; then