Add exporting of all functions, same as done in env-shared.

This commit is contained in:
2026-04-13 19:28:41 -07:00
parent 4fd3e43e0d
commit 5e8d188871

View File

@@ -1187,6 +1187,10 @@
path: "{{ item }}/.bashrc"
block: |
{{ rc_common }}
# Export all functions! #
eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
[[ $(whoami) != "root" ]] &&
echo "`date` - Ansible .bashrc loaded successfully!"
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'