Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 14286:95030c543411 v8.1.0159
patch 8.1.0159: completion for user names does not work for a prefix.
commit https://github.com/vim/vim/commit/6c5d1043022520512ee36aa1a29662b60af33c95
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 7 16:41:13 2018 +0200
patch 8.1.0159: completion for user names does not work for a prefix.
Problem: Completion for user names does not work if a prefix is also a full
matching name. (Nazri Ramliy)
Solution: Accept both full and partial matches. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 07 Jul 2018 16:45:05 +0200 |
parents | 3fc0f57ecb91 |
children | d4faa2c5211b |
line wrap: on
line source
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list