mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-11-09 16:43:14 -06:00
25 lines
487 B
Bash
Executable file
25 lines
487 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
divider() {
|
|
N=10
|
|
for ((i = 0; i < N; ++i)); do
|
|
printf '-'
|
|
done
|
|
}
|
|
show-version() {
|
|
printf "%s %s %s\n" "$(divider)" "$1" "$(divider)"
|
|
which "$1" 2>/dev/null
|
|
"$@"
|
|
}
|
|
|
|
show-dir() {
|
|
dir="$( dirname -- "$( readlink -f -- "$0"; )"; )"/../"$1"
|
|
printf "%s\n%s\n%s\n" "$(divider)" "$(tree "$dir")" "$(divider)"
|
|
}
|
|
|
|
show-version python --version
|
|
show-version fontforge --version
|
|
show-version docker --version
|
|
show-version uname -a
|
|
show-dir MonoLisa
|
|
show-dir patched
|