view src/which.sh @ 13666:57da3d873f20 v8.0.1705

patch 8.0.1705: when making a vertical split the mode message isn't updated commit https://github.com/vim/vim/commit/5bab555c2f1b3b86d57e4adeb86d908eff477fc9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 13 20:41:29 2018 +0200 patch 8.0.1705: when making a vertical split the mode message isn't updated Problem: When making a vertical split the mode message isn't always updated, "VISUAL" remains. (Alexei Averchenko) Solution: Only reset clear_cmdline when filling all columns of the last screen line. (Tom M. closes #2611)
author Christian Brabandt <cb@256bit.org>
date Fri, 13 Apr 2018 20:45:07 +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