aboutsummaryrefslogtreecommitdiffstats
path: root/cdlog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cdlog.sh')
-rw-r--r--cdlog.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/cdlog.sh b/cdlog.sh
index 652efaf..0a9b032 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -152,12 +152,15 @@ cdlog.chdir()
case $2 in
( */* )
;;
- ( * )
+ ( ?* )
def=${cdlog_alias[$2]}
if [ -n "$def" ] ; then
set -- -P "$def"
fi
;;
+ ( * )
+ return 0
+ ;;
esac
fi