summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGravatar patrick brisbin <pbrisbin@gmail.com>2013-12-09 15:47:42 -0500
committerGravatar patrick brisbin <pbrisbin@gmail.com>2013-12-11 09:40:38 -0500
commit4b163f5565269faadc64995a3a903fa28c65f7b3 (patch)
tree3c14dcde5d88486c66f3c5491fbd512c55143e79 /bin
parent3cc63e020bcd6c9a684957d10cd754bc0a1e1dc6 (diff)
Prefer RCRC environment variable over ~/.rcrc
* Centralize configuration loading in rcm.sh(.in) * Check for readability, not just existence Add RCRC notes to all manpages. Putting the environment variables in a table lines them up more neatly and definitively, across all output formats, and also follows the examples used by e.g. BSD ls(1).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lsrc4
-rwxr-xr-xbin/mkrc4
-rwxr-xr-xbin/rcdn4
-rwxr-xr-xbin/rcup4
4 files changed, 0 insertions, 16 deletions
diff --git a/bin/lsrc b/bin/lsrc
index 6f719e3..3496a17 100755
--- a/bin/lsrc
+++ b/bin/lsrc
@@ -242,10 +242,6 @@ handle_command_line() {
DEST_STACK=
-if [ -e $HOME/.rcrc ]; then
- . $HOME/.rcrc
-fi
-
handle_command_line $*
: ${DOTFILES_DIRS:=$DOTFILES_DIRS $DEFAULT_DOTFILES_DIR}
diff --git a/bin/mkrc b/bin/mkrc
index 9bd9fba..c78d10b 100755
--- a/bin/mkrc
+++ b/bin/mkrc
@@ -18,10 +18,6 @@ destination() {
fi
}
-if [ -e $HOME/.rcrc ]; then
- . $HOME/.rcrc
-fi
-
show_help() {
local exit_code=${1:-0}
diff --git a/bin/rcdn b/bin/rcdn
index 1f44fa2..ebd5dea 100755
--- a/bin/rcdn
+++ b/bin/rcdn
@@ -79,10 +79,6 @@ handle_command_line() {
LS_ARGS=-F
-if [ -e $HOME/.rcrc ]; then
- . $HOME/.rcrc
-fi
-
handle_command_line $*
: ${DOTFILES_DIRS:=$DOTFILES_DIRS $DEFAULT_DOTFILES_DIR}
diff --git a/bin/rcup b/bin/rcup
index 67e3a01..f5c9459 100755
--- a/bin/rcup
+++ b/bin/rcup
@@ -155,10 +155,6 @@ handle_command_line() {
LS_ARGS=-F
-if [ -e $HOME/.rcrc ]; then
- . $HOME/.rcrc
-fi
-
handle_command_line $*
: ${DOTFILES_DIRS:=$DOTFILES_DIRS $DEFAULT_DOTFILES_DIR}