# if custom aliases files exist, add them to the list.
for i in "$FEISTY_MEOW_GENERATED/custom/*.alias"; do
- ALIAS_DEFINITION_FILES+=("$i")
+ if [ -f "$i" ]; then
+ ALIAS_DEFINITION_FILES+=("$i")
+ fi
done
echo "alias files:"
for i in "${ALIAS_DEFINITION_FILES[@]}"; do
# pull in the custom overrides for feisty_meow scripts.
for i in $FEISTY_MEOW_GENERATED/custom/*.sh; do
+ if [ ! -f "$i" ]; then
+ # skip it if it's not real.
+ continue;
+ fi
if [ ! -z "$SHELL_DEBUG" ]; then
echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
fi