ZSH makers module
This commit is contained in:
parent
794b18099e
commit
216ff74d2a
3 changed files with 79 additions and 80 deletions
11
zsh/func/makers/mkmdir
Normal file
11
zsh/func/makers/mkmdir
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/zsh
|
||||
# Make a Maildir directory
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
if [[ -z $1 || $1 == "" ]]; then
|
||||
echo "Usage: $0 [maildir]"
|
||||
exit 1
|
||||
else
|
||||
|
||||
mkdir -p $1/{new,cur,tmp}
|
||||
return $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue