Misc fixes

This commit is contained in:
Geoffrey “Frogeye” Preud'homme 2023-07-25 13:23:56 +02:00
parent dc63263d85
commit d1ae06e7ef
2 changed files with 1 additions and 2 deletions

View file

@ -20,7 +20,6 @@ require'nvim-treesitter.configs'.setup {
"gitattributes", "gitattributes",
"gitignore", "gitignore",
"go", "go",
"help",
"html", "html",
"http", "http",
"java", "java",

View file

@ -20,7 +20,7 @@ then
if ! find "$cachefile" -mtime -7 &> /dev/null if ! find "$cachefile" -mtime -7 &> /dev/null
then then
mkdir -p "$cachedir" mkdir -p "$cachedir"
curl --silent "$url/?ip=$ip" > "$cachefile" curl --silent "$url?ip=$ip" > "$cachefile"
fi fi
cat "$cachefile" | jq $jq_sel cat "$cachefile" | jq $jq_sel
else else