diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-11-22 09:15:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-11-22 09:15:07 +0100 |
commit | 88ed4809398dce676ba516e2016f8b51d53b4720 (patch) | |
tree | 1073cd866eb10ac2b5111a8784403ccbff5e9246 /etc/functions/mkcd | |
parent | 244de02d830c9a42bd423715b3c8031ade2fa702 (diff) |
function cleanup
Diffstat (limited to 'etc/functions/mkcd')
-rw-r--r-- | etc/functions/mkcd | 13 |
1 files changed, 0 insertions, 13 deletions
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 <directory name>" > /dev/stderr - return 1 -} -if [[ -d ${dir} ]] ls=1 -mkdir -p ${dir} -cd ${dir} -if ((ls)) ls --color=auto |