Add zsh unxip function

This commit is contained in:
Tom Willemse 2016-10-19 22:52:36 +02:00
parent 4a6a1e3629
commit 6416e444df
2 changed files with 6 additions and 1 deletions

2
zsh/.zsh/functions/unzip Normal file
View file

@ -0,0 +1,2 @@
# -*- mode: sh; sh-shell: zsh; -*-
command unzip "$@" -x '__MACOSX*' '*.DS_Store'

View file

@ -1,6 +1,9 @@
include ../dotfiles.mk include ../dotfiles.mk
all: .profile all: .profile .zshrc .zsh/functions/unzip.zwc
.%: %.org .%: %.org
$(call tangle,sh) $(call tangle,sh)
.zsh/functions/%.zwc: .zsh/functions/%
zsh -c "zcompile $^"