]> arthur.barton.de Git - ax-zsh.git/commitdiff
New "colormake" plugin
authorAlexander Barton <alex@barton.de>
Tue, 28 Aug 2018 07:52:58 +0000 (09:52 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 12 Sep 2018 14:14:26 +0000 (16:14 +0200)
plugins/colormake/README.md [new file with mode: 0644]
plugins/colormake/colormake.zshrc [new file with mode: 0644]

diff --git a/plugins/colormake/README.md b/plugins/colormake/README.md
new file mode 100644 (file)
index 0000000..9ef47a2
--- /dev/null
@@ -0,0 +1,7 @@
+## colormake
+
+Setup *colormake*(1), a wrapper script to colorize *make*(1) output.
+
+### Command Aliases
+
+- `make`: `colormake` (enable the wrapper script)
diff --git a/plugins/colormake/colormake.zshrc b/plugins/colormake/colormake.zshrc
new file mode 100644 (file)
index 0000000..2569c78
--- /dev/null
@@ -0,0 +1,8 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# colormake.zshrc: Setup colormake(1)
+
+# Make sure that "make(1)" and "colormake(1)" are installed
+(( $+commands[make] )) || return
+(( $+commands[colormake] )) || return
+
+alias make="colormake"