You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
351 B
16 lines
351 B
#!/bin/env bash
|
|
|
|
if [[ -z "${FILES_EXTRAS_DIR}" ]]; then
|
|
export FILES_EXTRAS_DIR="${HOME}/.files-extras";
|
|
fi
|
|
|
|
|
|
if ! [[ -d "${FILES_EXTRAS_DIR}" ]]; then
|
|
mkdir -p "${FILES_EXTRAS_DIR}";
|
|
files_linkdir "${FILES_PLUGIN_ROOT}/default.d/" "${FILES_EXTRAS_DIR}/";
|
|
fi
|
|
|
|
for file in "${FILES_EXTRAS_DIR}"/*; do
|
|
[[ -f "${file}" ]] && source "${file}";
|
|
done;
|