Mercurial > vim
view src/which.sh @ 26141:77ad8ea01c00 v8.2.3603
patch 8.2.3603: fish filetype not recognized
Commit: https://github.com/vim/vim/commit/b1b163efd7bb3ca68cce101d4e431559d2944a8e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 16 15:28:10 2021 +0000
patch 8.2.3603: fish filetype not recognized
Problem: Fish filetype not recognized.
Solution: Add a file pattern and match script line. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Nov 2021 16:30: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