From c0127da8d65da9e18cf82ff72b1f5c58de8b3861 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Thu, 18 Nov 2021 16:07:03 +0100 Subject: [PATCH] fixed dotf/git completion command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0adbb26..b10f2cc 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ dotf status if you want to add some bash completion to dotf you can just add the following line to your .bashrc ``` -[[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git +[[ $(type -t __git_complete) == function ]] && __git_complete dotf __git_main ``` If you want you can add a remote repository make sure that it's secure if you manage sensitive information.