From ef13ed06a32c5dbd40cf75aed717a349e1a0c280 Mon Sep 17 00:00:00 2001 From: equt Date: Tue, 3 Nov 2020 10:49:42 +0800 Subject: [PATCH] [ fix ] Quote env var --- bin/git-ignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-ignore b/bin/git-ignore index b2957db..217adda 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -12,7 +12,7 @@ function show_contents { } function global_ignore() { - git config --global core.excludesfile || echo $XDG_CONFIG_HOME/git/ignore || echo $HOME/.config/git/ignore + git config --global core.excludesfile || echo "$XDG_CONFIG_HOME/git/ignore" || echo "$HOME/.config/git/ignore" } function show_global {