From d6c171897be602151ef9ddeb0d725ee0d6b61b4c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 4 Jun 2018 23:42:10 +0300 Subject: add comments --- %HOME%/.bash_utils/path.sh | 4 ++++ %HOME%/.bashrc | 5 +++++ %HOME%/.profile | 5 +++++ 3 files changed, 14 insertions(+) (limited to '%HOME%') 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 +# 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 +# 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 -- cgit v1.2.3