Mercurial > vim
view src/which.sh @ 9299:8000f0a44744 v7.4.1932
commit https://github.com/vim/vim/commit/ece74ab103eca15e17435efbe9cb21039787f1ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 13 22:22:15 2016 +0200
patch 7.4.1932
Problem: When writing viminfo the jumplist is not merged with the one in
the viminfo file.
Solution: Merge based on timestamp.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 13 Jun 2016 22:30: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