aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-25 09:52:31 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-25 09:52:31 +0300
commitcd0ab04a803606e3c69bcdb3c2ae6616f381c68d (patch)
treee10766560d7ba7392f0b31ea70db39c3cd698bbb
parent5f4cd424c707e425f6337c5380baaafbbc0d208f (diff)
downloadpfetch-cd0ab04a803606e3c69bcdb3c2ae6616f381c68d.tar.gz
misc: fixes'
-rwxr-xr-xpfetch3
1 files changed, 2 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index cdb31b0..429fe33 100755
--- a/pfetch
+++ b/pfetch
@@ -159,6 +159,7 @@ get_os() {
10.12*) distro="macOS Sierra" ;;
10.13*) distro="macOS High Sierra" ;;
10.14*) distro="macOS Mojave" ;;
+ 10.15*) distro="macOS Catalina" ;;
*) distro="macOS" ;;
esac
@@ -797,7 +798,7 @@ get_ascii() {
# '[?25l': Hide the cursor.
# '[1m': Print the ascii in 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%s[%sA' "$ascii" "$ascii_height" >&6
}