view src/which.sh @ 18299:a9cf41bcb5d6 v8.1.2144

patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys Commit: https://github.com/vim/vim/commit/171a921b51101c1261040d28a8147c8829b675d3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 12 21:08:59 2019 +0200 patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys Problem: Side effects when using t_ti to enable modifyOtherKeys. Solution: Add t_TI and t_TE.
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Oct 2019 21:15:04 +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