view src/which.sh @ 31107:86c628c39931 v9.0.0888

patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard Commit: https://github.com/vim/vim/commit/f10952e8c0b94bae58742f147d6779998d189892 Author: Aedin Louis Xavier <mmxael@gmail.com> Date: Wed Nov 16 12:02:28 2022 +0000 patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard. Solution: Check the key code and don't consider it as a dead key. (Aedin Louis Xavier, closes #11556)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Nov 2022 13:15:04 +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