|
|
|
@ -17,6 +17,11 @@
|
|
|
|
|
# B a s h G e n e r a l F u n c t i o n s
|
|
|
|
|
# ============================================================================ #
|
|
|
|
|
|
|
|
|
|
srcdir="${srcdir:-$(dirname "${BASH_SOURCE[0]}")/..}"
|
|
|
|
|
|
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
|
. "$srcdir/.bash.d/os_detection.sh"
|
|
|
|
|
|
|
|
|
|
# Enables colourized return codes in prompt_func
|
|
|
|
|
# better leave it as the same as already set. This way a reload of bashrc doesn't change the mode
|
|
|
|
|
# could do retmode=${retmode:-off} but this is unnecessary overhead
|
|
|
|
|