view src/which.sh @ 13337:1b7522243dde v8.0.1543

patch 8.0.1543: with 'termguicolors' Normal color doesn't work correctly commit https://github.com/vim/vim/commit/33ef5bb0e4ea9a049c4311cfe59d1926dcb963a4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 27 13:04:59 2018 +0100 patch 8.0.1543: with 'termguicolors' Normal color doesn't work correctly Problem: With 'termguicolors' Normal color doesn't work correctly. Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always. (Kazunobu Kuriyama, closes #981, closes #2332)
author Christian Brabandt <cb@256bit.org>
date Tue, 27 Feb 2018 13:15:07 +0100
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