[ fix ] Quote env var

This commit is contained in:
equt 2020-11-03 10:49:42 +08:00
parent fa35cdab99
commit ef13ed06a3
No known key found for this signature in database
GPG key ID: C5A974C726D0D6AE

View file

@ -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 {