From 849bc2a13371ad8b064fdac3eb673b2188410de1 Mon Sep 17 00:00:00 2001 From: Mzwagerman Date: Fri, 4 Mar 2011 15:22:40 -0500 Subject: [PATCH] Updated to return a false message when the mark is not in the marks list --- bash_aliases | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 bash_aliases diff --git a/bash_aliases b/bash_aliases old mode 100644 new mode 100755 index 4327dc0..58499f5 --- a/bash_aliases +++ b/bash_aliases @@ -36,6 +36,8 @@ function mark() local mark_dir=$(grep "^$mark_name:" ${MARKS_FILE} | sed -e 's/[^:]*://') if [[ "$mark_dir" != "" ]]; then cd "$mark_dir" + else + echo "\`$mark_name' is NOT in mark list!" fi ;; -s)