[ feat ] Quote the default_path var

This commit is contained in:
equt 2020-11-03 12:04:55 +08:00
parent ef13ed06a3
commit fca42774f8
No known key found for this signature in database
GPG key ID: C5A974C726D0D6AE

View file

@ -8,7 +8,7 @@ if [[ -n "$XDG_CACHE_HOME" ]]; then
fi
update_gi_list() {
curl -L -s "${gitignore_io_url}/list" > $default_path
curl -L -s "${gitignore_io_url}/list" > "$default_path"
}
print_in_alphabetical_order() {