Dotfiles update 2025-12-25 10:42

This commit is contained in:
Aaron D. Lee
2025-12-25 10:42:57 -05:00
parent 21e86f2b6e
commit 4857b7d322
9 changed files with 27 additions and 2 deletions

View File

@@ -14,6 +14,9 @@ source "$DOTFILES_DIR/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m'
} }
# Source utils (fixed: was DOTFILES_HOME, should be DOTFILES_DIR)
source "$DOTFILES_DIR/zsh/lib/utils.zsh" 2>/dev/null
# ============================================================================ # ============================================================================
# MOTD-style header # MOTD-style header
# ============================================================================ # ============================================================================
@@ -26,7 +29,8 @@ print_header() {
local hostname="${HOST:-$(hostname -s 2>/dev/null)}" local hostname="${HOST:-$(hostname -s 2>/dev/null)}"
local datetime=$(date '+%a %b %d %H:%M') local datetime=$(date '+%a %b %d %H:%M')
local width=66 local width=66
local hline="" && for ((i=0; i<width; i++)); do hline+="═"; done local hline=""
for ((i=0; i<width; i++)); do hline+="═"; done
echo "" echo ""
echo "${DF_GREY}${hline}${DF_NC}" echo "${DF_GREY}${hline}${DF_NC}"
@@ -78,6 +82,10 @@ compile_all() {
compile_file "$DOTFILES_DIR/zsh/.zshrc" compile_file "$DOTFILES_DIR/zsh/.zshrc"
compile_file "$DOTFILES_DIR/zsh/aliases.zsh" compile_file "$DOTFILES_DIR/zsh/aliases.zsh"
for file in "$DOTFILES_DIR/zsh/lib"/*.zsh(N); do
compile_file "$file"
done
for file in "$DOTFILES_DIR/zsh/functions"/*.zsh(N); do for file in "$DOTFILES_DIR/zsh/functions"/*.zsh(N); do
compile_file "$file" compile_file "$file"
done done

View File

@@ -42,6 +42,9 @@ source "$DOTFILES_HOME/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
# Track results # Track results
TOTAL_CHECKS=0 TOTAL_CHECKS=0
PASSED_CHECKS=0 PASSED_CHECKS=0

View File

@@ -15,6 +15,9 @@ source "$DOTFILES_HOME/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
# ============================================================================ # ============================================================================
# MOTD-style header # MOTD-style header
# ============================================================================ # ============================================================================

View File

@@ -15,6 +15,8 @@ source "$DOTFILES_HOME/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
# Color codes # Color codes
readonly RED='\033[0;31m' readonly RED='\033[0;31m'

View File

@@ -47,6 +47,9 @@ source "$DOTFILES_DIR/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
# ============================================================================ # ============================================================================
# MOTD-style header # MOTD-style header
# ============================================================================ # ============================================================================

View File

@@ -17,6 +17,9 @@ source "$DOTFILES_HOME/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
# ============================================================================ # ============================================================================
# MOTD-style header # MOTD-style header
# ============================================================================ # ============================================================================

View File

@@ -25,6 +25,9 @@ source "$DOTFILES_DIR/zsh/lib/colors.zsh" 2>/dev/null || {
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m'
} }
# Source utils.zsh
source "$DOTFILES_HOME/zsh/lib/utils.zsh" 2>/dev/null
CHECK_ONLY=false CHECK_ONLY=false
for arg in "$@"; do for arg in "$@"; do

BIN
zsh/lib/colors.zsh.zwc Normal file

Binary file not shown.

BIN
zsh/lib/utils.zsh.zwc Normal file

Binary file not shown.