misc: fixes'
This commit is contained in:
parent
5f4cd424c7
commit
cd0ab04a80
3
pfetch
3
pfetch
|
@ -159,6 +159,7 @@ get_os() {
|
||||||
10.12*) distro="macOS Sierra" ;;
|
10.12*) distro="macOS Sierra" ;;
|
||||||
10.13*) distro="macOS High Sierra" ;;
|
10.13*) distro="macOS High Sierra" ;;
|
||||||
10.14*) distro="macOS Mojave" ;;
|
10.14*) distro="macOS Mojave" ;;
|
||||||
|
10.15*) distro="macOS Catalina" ;;
|
||||||
*) distro="macOS" ;;
|
*) distro="macOS" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -797,7 +798,7 @@ get_ascii() {
|
||||||
# '[?25l': Hide the cursor.
|
# '[?25l': Hide the cursor.
|
||||||
# '[1m': Print the ascii in bold.
|
# '[1m': Print the ascii in bold.
|
||||||
# '[m': Clear bold.
|
# '[m': Clear bold.
|
||||||
# '[%sA: Move the cursor up '$ascii_height' amount of lines.
|
# '[%sA': Move the cursor up '$ascii_height' amount of lines.
|
||||||
printf '[?7l[?25l[1m%s[m[%sA' "$ascii" "$ascii_height" >&6
|
printf '[?7l[?25l[1m%s[m[%sA' "$ascii" "$ascii_height" >&6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user