diff --git a/zsh/.zsh/functions/unzip b/zsh/.zsh/functions/unzip new file mode 100644 index 0000000..a44f23b --- /dev/null +++ b/zsh/.zsh/functions/unzip @@ -0,0 +1,2 @@ +# -*- mode: sh; sh-shell: zsh; -*- +command unzip "$@" -x '__MACOSX*' '*.DS_Store' diff --git a/zsh/GNUmakefile b/zsh/GNUmakefile index 1b688ee..32f2011 100644 --- a/zsh/GNUmakefile +++ b/zsh/GNUmakefile @@ -1,6 +1,9 @@ include ../dotfiles.mk -all: .profile +all: .profile .zshrc .zsh/functions/unzip.zwc .%: %.org $(call tangle,sh) + +.zsh/functions/%.zwc: .zsh/functions/% + zsh -c "zcompile $^"