From 8d6fb32979fed7b6651e6ef51e33295fe9415ff8 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 13 Nov 2023 01:36:03 +0100 Subject: [PATCH] Fix issues --- README.md | 1 + config.env => config.env.example | 0 init.source | 3 +++ 3 files changed, 4 insertions(+) rename config.env => config.env.example (100%) diff --git a/README.md b/README.md index 4df5bf3..9dcba43 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ This is a premade and fully-fletched bashrc, fully configurable to your liking. ```bash git clone https://git.staropensource.de/JeremyStarTM/jstmbash.git ${HOME}/.jstmbash # clone repository echo "source \${HOME}" >> "${HOME}/.bashrc" # add init script to bashrc +cp ${HOME}/.jstmbash/config.env.example ${HOME}/.jstmbash/config.env # copy example config ${EDITOR} ${HOME}/.jstmbash/config.env # configure jstmbash exec bash # restart bash ``` \ No newline at end of file diff --git a/config.env b/config.env.example similarity index 100% rename from config.env rename to config.env.example diff --git a/init.source b/init.source index f6d7d17..0d8c80a 100644 --- a/init.source +++ b/init.source @@ -80,6 +80,9 @@ if [ "${JSTMBASH_PATH_ENFORCE_CLEAN}" == "true" ]; then unset PATH_SYSTEM unset PATH_USER fi +if [[ "${JSTM_PATH_APPENDS}" ]]; then + export "PATH=${PATH}:${JSTM_PATH_APPENDS}" +fi # add goodies ## extract command, very useful