Merge pull request #7 from NotZoeyDev/master

Add iTerm2 support
This commit is contained in:
BBaoVanC 2021-03-14 18:00:54 -05:00 committed by GitHub
commit de10710c32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"