From 8356f197a70ccbebfbe3b90efb74aeaef7649ff3 Mon Sep 17 00:00:00 2001 From: open-dynaMIX Date: Wed, 18 Oct 2017 09:22:03 +0200 Subject: [PATCH] Remove unnecessary use of cat --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index caf78bc..e09bf98 100644 --- a/README.md +++ b/README.md @@ -416,7 +416,7 @@ Of course, this file should not be tracked by git (put it in your `.gitignore`). Then you can invoke dotdrop with the help of an alias like that: ``` -alias dotdrop='eval $(cat ~/dotfiles/.env | egrep -v "^#") ~/dotfiles/dotdrop.sh' +alias dotdrop='eval $(grep -v "^#" ~/dotfiles/.env) ~/dotfiles/dotdrop.sh' ``` This loads all the variables from `.env` (while omitting lines starting with `#`) before calling `~/dotfiles/dotdrop.sh`.