# HG changeset patch # User Oleksandr Gavenko # Date 1453072735 -7200 # Node ID b1ace79cf017186d19cd27f3ae1e60670ac566f4 # Parent ac61eb421fcdce0c418a44abeee484cdd303da7f Because I remove utils/pathsearch project I save some usage example from man page. diff -r ac61eb421fcd -r b1ace79cf017 .bashrc --- a/.bashrc Fri Jan 08 22:47:00 2016 +0200 +++ b/.bashrc Mon Jan 18 01:18:55 2016 +0200 @@ -106,6 +106,11 @@ md () { mkdir -p "$1" && cd "$1"; } myfind() { find . -iname "$1"; } + +# Usage example: +# mypath EMACSLOADPATH '*.el' \; +# mypath TEXINPUTS "*cyr*" +# VAR=`cygpath -p '$INCLUDE'` mypath VAR "windows*" mypath() { local var="$2" [[ -z $var ]] && var=PATH