Updated to return a false message when the mark is not in the marks list

This commit is contained in:
Mzwagerman 2011-03-04 15:22:40 -05:00
parent a88c50569c
commit 849bc2a133

2
bash_aliases Normal file → Executable file
View File

@ -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)