From 4f9abc859a08e32816bf0e44f0cdffc9c116d1c8 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 14 Mar 2021 18:41:34 -0400 Subject: [PATCH] Add iTerm2 support --- nekofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nekofetch b/nekofetch index aa81770..72e875d 100755 --- a/nekofetch +++ b/nekofetch @@ -29,6 +29,8 @@ if [ "$TERM" = "xterm-kitty" ]; then jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile" neofetch --source "$tmpfile" fi +elif [ "$LC_TERMINAL" = "iTerm2" ]; then + neofetch --iterm2 "$tmpfile.jpg" else jp2a --height="$height" "$tmpfile.jpg" > "$tmpfile" neofetch --source "$tmpfile"