From 1117fbd76d5bb05715d05f9654a10ed5e81cd66d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 17 Aug 2020 10:27:58 +0100 Subject: [PATCH] zsh: Update m alias Update the `m` alias to use a Makefile within the notes directory if there is one, otherwise default to one in the current directory. --- tag-zsh/zsh/configs/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag-zsh/zsh/configs/aliases.zsh b/tag-zsh/zsh/configs/aliases.zsh index a840741..ae006cc 100644 --- a/tag-zsh/zsh/configs/aliases.zsh +++ b/tag-zsh/zsh/configs/aliases.zsh @@ -1,6 +1,6 @@ alias c="clear" alias l="ls -lah" -alias m=make +alias m="if [[ -f .notes/Makefile ]]; then make -f .notes/Makefile; else make; fi" alias mkdir="mkdir -p" alias s=symfony alias v=vagrant