mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-01 15:26:46 +01:00
Add .plugin file and installation instructions for Oh My Zsh (#104).
This commit is contained in:
parent
00bd0e9125
commit
03bd381112
3 changed files with 26 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -17,9 +17,11 @@ HEADER_FILES := \
|
|||
LICENSE
|
||||
|
||||
PLUGIN_TARGET := zsh-autosuggestions.zsh
|
||||
OH_MY_ZSH_LINK_TARGET := zsh-autosuggestions.plugin.zsh
|
||||
|
||||
ALL_TARGETS := \
|
||||
$(PLUGIN_TARGET)
|
||||
$(PLUGIN_TARGET) \
|
||||
$(OH_MY_ZSH_LINK_TARGET)
|
||||
|
||||
all: $(ALL_TARGETS)
|
||||
|
||||
|
|
@ -27,6 +29,9 @@ $(PLUGIN_TARGET): $(HEADER_FILES) $(SRC_FILES)
|
|||
cat $(HEADER_FILES) | sed -e 's/^/# /g' >> $@
|
||||
cat $(SRC_FILES) >> $@
|
||||
|
||||
$(OH_MY_ZSH_LINK_TARGET): $(PLUGIN_TARGET)
|
||||
ln -s $(PLUGIN_TARGET) $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm $(ALL_TARGETS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue