fix: Suppress console output during zsh initialization to avoid P10K instant prompt warnings

- Add output redirection (&>/dev/null) when sourcing helper functions
- Wrap export -f statements to suppress stderr during loading
- This prevents P10K from detecting console output during initialization
This commit is contained in:
yves-sbb committed 2026-09-28 20:00:37 +02:00
1 parent 6d4e3c708e
commit c8d9fd013b
2 files changed
+15 -11

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@
# Source this after .bash_aliases to override the old context-only aliases
# ============================================================================
# First, source the helper functions
source ~/.bash_oc_smart.sh
# First, source the helper functions (suppress all console output during init)
source ~/.bash_oc_smart.sh &>/dev/null
# ============================================================================
# AWS Shared Clusters - Smart Switch Aliases