Mercurial > vim
view src/which.sh @ 32379:89679a3f2e09 v9.0.1521
patch 9.0.1521: failing redo of command with control characters
Commit: https://github.com/vim/vim/commit/30b6d6104c3d541c41c868989c020b743e01af08
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun May 7 17:39:23 2023 +0100
patch 9.0.1521: failing redo of command with control characters
Problem: Failing redo of command with control characters.
Solution: Use AppendToRedobuffLit() for colon commands. (closes https://github.com/vim/vim/issues/12354)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 May 2023 18:45:05 +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