diff options
| author | Marc Vertes <mvertes@free.fr> | 2022-02-03 14:44:31 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2022-02-03 14:44:31 +0100 |
| commit | 7d5b2b5cde9f50b9c02f066a96799d9ae4430651 (patch) | |
| tree | d96bead362540491d466ede0a6316418e8505fb3 /bin/icat | |
| parent | a3a3a61742950d45f1573a45a928e9b04c115634 (diff) | |
| parent | 70375b4962152133c0423115427d7eaa006822d6 (diff) | |
Merge branch 'master' of github.com:mvertes/dotfiles
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. |
