Mercurial > vim
view src/which.sh @ 11684:1ce1376fbbf8 v8.0.0725
patch 8.0.0725: a terminal window does not handle keyboard input
commit https://github.com/vim/vim/commit/938783d0ab5678c259ceb62b15be72abe69362fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 16 20:13:26 2017 +0200
patch 8.0.0725: a terminal window does not handle keyboard input
Problem: A terminal window does not handle keyboard input.
Solution: Add terminal_loop(). ":term bash -i" sort of works now.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 16 Jul 2017 20:15:03 +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