
.bashrc will skip .swp files (editors leave those while open) bin.path renamed to path.env and PATH manipulation should be 'cleaner' it adds required dirs to paths, but also makes sure no duplicates are inserted. chezmoi logic split, and status is seperated from aliases. Disable chezmoi status on load, as it is SLOW.
5 lines
196 B
Text
5 lines
196 B
Text
if [[ -n "$(type -fP chezmoi)" ]]; then
|
|
CHEZMOI_OUT="$(chezmoi status || true)x"
|
|
[[ "x" != "$CHEZMOI_OUT" ]] && printf "\nChezmoi changes:\n" && echo "${CHEZMOI_OUT%?}"
|
|
unset CHEZMOI_OUT
|
|
fi
|