Mercurial > vim
view src/which.sh @ 14842:7379bc1c3498 v8.1.0433
patch 8.1.0433: mapping can obtain text from inputsecret()
commit https://github.com/vim/vim/commit/31cbadf74bccc2a5cd8233bc31bbcfe466b00021
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 25 20:48:57 2018 +0200
patch 8.1.0433: mapping can obtain text from inputsecret()
Problem: Mapping can obtain text from inputsecret(). (Tommy Allen)
Solution: Disallow CTRL-R = and CTRL-\ e when using inputsecret().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Sep 2018 21:00:06 +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