view src/which.sh @ 29643:b54dfe92ee10 v9.0.0162

patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Commit: https://github.com/vim/vim/commit/73c3842fa54aa99e59b897b6ff1e69e800fe9cd3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 11:53:40 2022 +0100 patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Problem: Text property "below" gets indent if 'breakindent' is set. (Tim Pope) Solution: Do not put indent before text property. (closes #10859)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Aug 2022 13:00:15 +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