.bashrc
changeset 783 b1ace79cf017
parent 777 95f2a0c33d3b
child 784 8a961df3ec33
--- 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