mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-01-31 04:08:16 +01:00
8 lines
217 B
Bash
8 lines
217 B
Bash
# DESC: Creates `basename $(pwd)`-$(date ...) archive
|
|
|
|
local f=`basename $(pwd)`-`date +%Y%m%d`
|
|
command rm -vf "$f".zip
|
|
command git archive --output "$f".zip --prefix "$f/" master
|
|
command du "$f".zip
|
|
|
|
# vim:ft=zsh:et
|