Mercurial > vim
view src/which.sh @ 29938:935717599faa v9.0.0307
patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0
Commit: https://github.com/vim/vim/commit/134b86553c12c46e0ae7d534f6fe65e8ba2d50bc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 21:36:43 2022 +0100
patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0
Problem: :echomsg doesn't work properly with cmdheight=0.
Solution: Improve scrolling and displaying.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Aug 2022 22:45:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done