Mercurial > vim
view src/which.sh @ 17543:77c3f6428b6c v8.1.1769
patch 8.1.1769: 'shellslash' is also used for completion
commit https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 28 16:36:39 2019 +0200
patch 8.1.1769: 'shellslash' is also used for completion
Problem: 'shellslash' is also used for completion.
Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3612)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Jul 2019 16: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