diff options
| author | Marc Vertes <mvertes@free.fr> | 2022-02-03 14:39:21 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2022-02-03 14:39:21 +0100 |
| commit | 70375b4962152133c0423115427d7eaa006822d6 (patch) | |
| tree | d5608c6638f202ff17566fce60b5460da1d26304 /bin/icat | |
| parent | 053556962bb2d29ac76bcca51cabd1df238f80e3 (diff) | |
| parent | e200c8d78ca1d3388c25c1cef8892b1dd015bbf7 (diff) | |
update
Diffstat (limited to 'bin/icat')
| -rwxr-xr-x | bin/icat | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,8 @@ # Display images directly in terminal. # Tested with xterm v361. Depends on imagemagick convert(1). +[ "$LC_TERMINAL" = iTerm2 ] && [ -x "$HOME/.iterm2/imgcat" ] && exec "$HOME/.iterm2/imgcat" "$@" + # maxsize prints the geomtry size of terminal window, with # a maximum value of 1000 pixels for width and height, or # 640x480 if terminal size can not be probed. |
