From f45cdaf6859abf0d23075aa7bf42c01fc8ccb542 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 29 Jun 2013 23:00:20 +0900 Subject: [PATCH] bashrc: add func mkcdd --- bashrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 3b5ff0a..289b360 100755 --- a/bashrc +++ b/bashrc @@ -547,7 +547,11 @@ tb(){ } mkcd(){ - if test -d "$1" + if test -z "$1" + then + echo "mkcd: usage: mkcd