Because I remove utils/pathsearch project I save some usage example from man page.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 18 Jan 2016 01:18:55 +0200
changeset 783 b1ace79cf017
parent 782 ac61eb421fcd
child 784 8a961df3ec33
Because I remove utils/pathsearch project I save some usage example from man page.
.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