Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/envtools/shell/functions/base.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Reload the shell environment in-place (re-sources the entire envtools chain)
function reload() {
# shellcheck source=/dev/null
EVTLS_INIT_PARAM="reload" source "${EVTLS_SCRIPTPATH}/load.sh"
unset EVTLS_INIT_PARAM
echo
echo "Envtools reloaded!"
}

#
# Test for shell types
#
Expand Down
1 change: 0 additions & 1 deletion packages/envtools/shell/functions/custom.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck source=/dev/null

if [ -f "${EVTLS_RUNTIME_DIR}/custom/functions.sh" ]; then
source "${EVTLS_RUNTIME_DIR}/custom/functions.sh"
fi
Expand Down
Loading