changeset 546:b7b4767d12de

.bashrc
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 12 Nov 2013 21:31:59 -0800
parents 9cf7d5cc9c2b
children 2b0d254d4271
files .bashrc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Thu Oct 31 17:55:05 2013 -0700
+++ b/.bashrc	Tue Nov 12 21:31:59 2013 -0800
@@ -573,6 +573,10 @@
 
 }
 
+exists() {
+while read line;  do echo ${line} : $(($(test "-e ${line}"\") )); done
+}
+
 ### include overrides for commands
 source ~/.bash_overrides