mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 07:56:18 -04:00
[ fix ] Quote the XDG_CACHE_HOME
This commit is contained in:
parent
8ed7da3f02
commit
fa35cdab99
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
gitignore_io_url="https://www.gitignore.io/api/"
|
||||
default_path="$HOME/.gi_list"
|
||||
if [[ -n $XDG_CACHE_HOME ]]; then
|
||||
if [[ -n "$XDG_CACHE_HOME" ]]; then
|
||||
default_path="$XDG_CACHE_HOME/git-extras/gi_list"
|
||||
mkdir -p "$XDG_CACHE_HOME/git-extras"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue