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