Mercurial > vim
view src/which.sh @ 7254:b4b7b06c7951 v7.4.935
commit https://github.com/vim/vim/commit/6040256d8b0404564ac6f192296b12ea9d175e7d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 22 15:08:59 2015 +0100
patch 7.4.935
Problem: test_utf8 fails on MS-Windows when executed with gvim.
Solution: Use the insert flag on feedkeys() to put the string before the
":" that was already read when checking for available chars.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 22 Nov 2015 15: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