mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-18 22:01:03 +00:00
Add iTerm2 support
This commit is contained in:
parent
355a216f1e
commit
4f9abc859a
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue