Skip to content

Commit

Permalink
Merge pull request #9 from JuliaParallel/initial
Browse files Browse the repository at this point in the history
Insert spaces before and after logo (fix)
  • Loading branch information
omlins authored Sep 17, 2024
2 parents 15d960d + e6c4127 commit 8936fc4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions juhpc
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,17 @@
export JUHPC="\e[1;34m[\e[0m \e[1;35mJ\e[0m\e[1;32mU\e[0m\e[1;31mH\e[0m\e[1;31mP\e[0m\e[1;31mC\e[0m\e[1;34m:\e[0m"

export JUHPC_LOGO=$(cat <<'EOF'
\e[1;35m ██╗\e[0m \e[1;32m██╗ ██╗\e[0m \e[1;31m██╗ ██╗██████╗ ██████╗\e[0m
\e[1;35m ██║\e[0m \e[1;32m██║ ██║\e[0m \e[1;31m██║ ██║██╔══██╗██╔════╝\e[0m
\e[1;35m ██║\e[0m \e[1;32m██║ ██║\e[0m \e[1;31m███████║██████╔╝██║ \e[0m
\e[1;35m██╗ ██║\e[0m \e[1;32m██║ ██║\e[0m \e[1;31m██╔══██║██╔═══╝ ██║ \e[0m
\e[1;35m╚█████╔╝\e[0m \e[1;32m╚██████╔╝\e[0m \e[1;31m██║ ██║██║ ╚██████╗\e[0m
\e[1;35m ╚════╝ \e[0m \e[1;32m ╚═════╝ \e[0m \e[1;31m╚═╝ ╚═╝╚═╝ ╚═════╝\e[0m
EOF
)

print_logo() {
echo -e "$JUHPC_LOGO" >&2
echo -e "\n\n$JUHPC_LOGO\n\n" >&2
}

info() {
Expand Down Expand Up @@ -170,7 +166,7 @@ julia -e '
println("""#!/bin/bash
print_logo() {
echo -e "$(ENV["JUHPC_LOGO"])" >&2
echo -e "\n\n$(ENV["JUHPC_LOGO"])\n\n" >&2
}
info() {
Expand Down

0 comments on commit 8936fc4

Please sign in to comment.