Measure loading time of scripts

This commit is contained in:
lachtan
2023-01-28 05:16:10 -01:00
committed by Martin Blazik
parent e3920af719
commit 85eb30eb96
2 changed files with 13 additions and 7 deletions

6
bashrc
View File

@@ -10,11 +10,9 @@ if [[ -z $LC_ALL ]]; then
export LC_ALL=en_US.UTF-8
fi
for rc_file in $WORKSPACE/rc/*.sh; do
source $rc_file
done
source "$LWS/functions.sh"
source_directory_sh "$LWS/rc"
append_path "$LWS/bin"
append_path "$LWS/opt/bin"
set_uniq_path