1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-23 20:50:07 +00:00

don't allow overriding the path to zsh

This commit is contained in:
Roman Perepelitsa 2020-11-26 11:17:01 +01:00
parent bc3158cba5
commit ff79e502ad

View file

@ -1,7 +1,7 @@
ZSH ?= $(shell command -v zsh 2> /dev/null) ZSH := $(shell command -v zsh 2> /dev/null)
all: all:
pkg: pkg:
cd gitstatus && $(MAKE) ZSH=$(ZSH) pkg && cd .. cd gitstatus && $(MAKE) pkg && cd ..
$(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done' $(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done'