From 88ed4809398dce676ba516e2016f8b51d53b4720 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 22 Nov 2017 09:15:07 +0100 Subject: function cleanup --- etc/functions/mkcd | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 etc/functions/mkcd (limited to 'etc/functions/mkcd') diff --git a/etc/functions/mkcd b/etc/functions/mkcd deleted file mode 100644 index e91719a..0000000 --- a/etc/functions/mkcd +++ /dev/null @@ -1,13 +0,0 @@ -## vim:ft=zsh -## create a directory, then change into it -typeset -i ls=0 -typeset dir=${1} - -if [[ -z ${dir} ]] { - echo "Usage: mkcd " > /dev/stderr - return 1 -} -if [[ -d ${dir} ]] ls=1 -mkdir -p ${dir} -cd ${dir} -if ((ls)) ls --color=auto -- cgit v1.2.3