Mercurial > vim
view src/which.sh @ 31180:3fddb9e76c8d v9.0.0924
patch 9.0.0924: the first termcap entry of a builtin termcap is not used
Commit: https://github.com/vim/vim/commit/c3e06e4bfa56714ff59423c2fb5868ae2334727b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 22 22:03:39 2022 +0000
patch 9.0.0924: the first termcap entry of a builtin termcap is not used
Problem: The first termcap entry of a builtin termcap is not used.
Solution: Remove increment that was previously skipping the KS_NAME entry.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Nov 2022 23:15:03 +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