From cf316157d9a658adbcc9132dc0306f39d38594c6 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 21 Jan 2013 12:45:08 -0500 Subject: [PATCH] removed long term usage of putting dot into the PATH, to allow scripts and exes to be run if they were present in current directory. have long known this wasn't totally safe, but the reason for even doing it has long passed. all of feisty meow aliases and functions and scripts are loaded up so that one can run them without needing to refer to a file in the current directory, and for anything that's actually right there in the current directory, i will just add a "./" in front of it from now on before running it. --- scripts/core/variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index bfe00da9..7c67e440 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -177,7 +177,7 @@ if [ -z "$NECHUNG" ]; then # add to the PATH variables used for locating applications. this step is taken after any # potential overrides from the user. - export PATH="$FEISTY_MEOW_GENERATED:$PATH:/sbin:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)." + export PATH="$FEISTY_MEOW_GENERATED:$PATH:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)/sbin" ############## -- 2.34.1