Skip to content

Commit

Permalink
fix issue with printing of fancy header
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Mar 9, 2022
1 parent 4235c9a commit e093f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/fancy/00-header
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ fi

[ -n "$ANSI_COLOR" ] && OS_NAME="\033[${ANSI_COLOR}m${OS_NAME}\033[m"

figlet "$HOST_PFX" | sed -e 's/[[:space:]]*$//;${s/$/.'"${HOST_DOMAIN}"'/}' | lolcat -f
env echo -e "\nWelcome to ${OS_NAME} $(uname -r)\n"
printf "%s" "$(figlet $HOST_PFX)" | sed -e 's/[[:space:]]*$//' | sed -e '${s/$/.'"${HOST_DOMAIN}"'/}' | lolcat -f
env echo -e "\nWelcome to ${OS_NAME} $(uname -r)\n"

0 comments on commit e093f2f

Please sign in to comment.