Dotfiles update 2025-12-24 19:26

This commit is contained in:
Aaron D. Lee
2025-12-24 19:26:21 -05:00
parent a42198383e
commit 509fd51879
3 changed files with 41 additions and 41 deletions

View File

@@ -44,7 +44,7 @@ source "$DOTFILES_DIR/zsh/lib/colors.zsh" 2>/dev/null || {
DF_GREEN=$'\033[0;32m' DF_YELLOW=$'\033[1;33m' DF_RED=$'\033[0;31m' DF_GREEN=$'\033[0;32m' DF_YELLOW=$'\033[1;33m' DF_RED=$'\033[0;31m'
DF_BLUE=$'\033[0;34m' DF_CYAN=$'\033[0;36m' DF_NC=$'\033[0m' DF_BLUE=$'\033[0;34m' DF_CYAN=$'\033[0;36m' DF_NC=$'\033[0m'
DF_GREY=$'\033[38;5;242m' DF_LIGHT_BLUE=$'\033[38;5;39m' DF_GREY=$'\033[38;5;242m' DF_LIGHT_BLUE=$'\033[38;5;39m'
DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_BOLD=$'\033[1m' DF_DIM=$'\033[2m' DF_LIGHT_GREEN=$'\033[38;5;82m'
} }
# ============================================================================ # ============================================================================
@@ -63,7 +63,7 @@ print_header() {
echo "" echo ""
echo -e "${DF_GREY}${hline}${DF_NC}" echo -e "${DF_GREY}${hline}${DF_NC}"
echo -e "${DF_GREY}${DF_NC} ${DF_BOLD}${DF_LIGHT_BLUE}${user}@${hostname}${DF_NC} ${DF_DIM}dotfiles-update${DF_NC} ${datetime} ${DF_GREY}${DF_NC}" echo -e "${DF_GREY}${DF_NC} ${DF_BOLD}${DF_LIGHT_BLUE}${user}@${hostname}${DF_NC} ${DF_LIGHT_GREEN}dotfiles-update${DF_NC} ${datetime} ${DF_GREY}${DF_NC}"
echo -e "${DF_GREY}${hline}${DF_NC}" echo -e "${DF_GREY}${hline}${DF_NC}"
echo "" echo ""
fi fi

View File

@@ -23,7 +23,7 @@ source "$DOTFILES_HOME/zsh/lib/colors.zsh" 2>/dev/null || {
print_header() { print_header() {
if declare -f df_print_header &>/dev/null; then if declare -f df_print_header &>/dev/null; then
df_print_header "dotfiles-vault" df_print_header "dotfiles-vault "
else else
local user="${USER:-root}" local user="${USER:-root}"
local hostname="${HOSTNAME:-$(hostname -s 2>/dev/null)}" local hostname="${HOSTNAME:-$(hostname -s 2>/dev/null)}"

View File

@@ -47,7 +47,7 @@ done
print_header() { print_header() {
if declare -f df_print_header &>/dev/null; then if declare -f df_print_header &>/dev/null; then
df_print_header "dotfiles-version" df_print_header "dotfiles-version "
else else
local user="${USER:-root}" local user="${USER:-root}"
local hostname="${HOSTNAME:-$(hostname -s 2>/dev/null)}" local hostname="${HOSTNAME:-$(hostname -s 2>/dev/null)}"