Add iTerm2 support

This commit is contained in:
Zoey 2021-03-14 18:41:34 -04:00
parent 355a216f1e
commit 4f9abc859a

View file

@ -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"