Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4969097d78 | ||
|
|
c8d9fd013b |
No files matched your search
@@ -217,3 +217,31 @@
|
||||
[OK] Status-Zusammenfassung:
|
||||
[2026-09-28 19:57:29] ═══════════════════════════════════════════════════════════
|
||||
[OK] Abgeschlossen
|
||||
[2026-09-28 20:00:08] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:00:08] Modus: push
|
||||
[2026-09-28 20:00:08] DRY-RUN: Keine Änderungen werden vorgenommen
|
||||
[2026-09-28 20:00:08] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:00:08] Push: Synchronisiere Repo-Dateien ins Home-Dir...
|
||||
[WARN] → update: .bash_oc_smart.sh (Repo → Home) [lokale Änderung wird überschrieben]
|
||||
[WARN] → update: .bash_oc_smart_aliases.sh (Repo → Home) [lokale Änderung wird überschrieben]
|
||||
[OK] Push abgeschlossen: 0 kopiert, 0 Backups, 0 ausgelassen
|
||||
[2026-09-28 20:00:09] ═══════════════════════════════════════════════════════════
|
||||
[OK] DRY-RUN abgeschlossen (keine Änderungen)
|
||||
[2026-09-28 20:00:12] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:00:12] Modus: push
|
||||
[2026-09-28 20:00:12] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:00:12] Push: Synchronisiere Repo-Dateien ins Home-Dir...
|
||||
[WARN] → update: .bash_oc_smart.sh (Repo → Home) [lokale Änderung wird überschrieben]
|
||||
[2026-09-28 20:00:12] Backup erstellt: .bash_oc_smart.sh (vor Push) → /Users/u241100/mac-home/.sync-backups/.bash_oc_smart.sh.20260928_200012.backup
|
||||
[WARN] → update: .bash_oc_smart_aliases.sh (Repo → Home) [lokale Änderung wird überschrieben]
|
||||
[2026-09-28 20:00:12] Backup erstellt: .bash_oc_smart_aliases.sh (vor Push) → /Users/u241100/mac-home/.sync-backups/.bash_oc_smart_aliases.sh.20260928_200012.backup
|
||||
[OK] Push abgeschlossen: 2 kopiert, 2 Backups, 0 ausgelassen
|
||||
[2026-09-28 20:00:12] ═══════════════════════════════════════════════════════════
|
||||
[OK] Abgeschlossen
|
||||
[2026-09-28 20:01:20] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:01:20] Modus: status
|
||||
[2026-09-28 20:01:20] ═══════════════════════════════════════════════════════════
|
||||
[2026-09-28 20:01:20] Status: Vergleiche Repo mit Home-Dir...
|
||||
[OK] Status-Zusammenfassung:
|
||||
[2026-09-28 20:01:20] ═══════════════════════════════════════════════════════════
|
||||
[OK] Abgeschlossen
|
||||
@@ -271,13 +271,17 @@ oc_logout() {
|
||||
echo -e "${GREEN}✓ Logged out${NC}"
|
||||
}
|
||||
|
||||
export -f is_oc_logged_in
|
||||
export -f is_oc_token_valid
|
||||
export -f get_token_expiry_info
|
||||
export -f oc_smart_switch
|
||||
export -f _oc_perform_login
|
||||
export -f _oc_verify_project
|
||||
export -f oc_status
|
||||
export -f oc_contexts
|
||||
export -f oc_logout
|
||||
# Export functions for use in subshells (mainly for bash compatibility)
|
||||
# Suppress output to avoid console noise during zsh initialization
|
||||
{
|
||||
export -f is_oc_logged_in
|
||||
export -f is_oc_token_valid
|
||||
export -f get_token_expiry_info
|
||||
export -f oc_smart_switch
|
||||
export -f _oc_perform_login
|
||||
export -f _oc_verify_project
|
||||
export -f oc_status
|
||||
export -f oc_contexts
|
||||
export -f oc_logout
|
||||
} 2>/dev/null
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user