Misc fixes
This commit is contained in:
parent
dc63263d85
commit
d1ae06e7ef
|
@ -20,7 +20,6 @@ require'nvim-treesitter.configs'.setup {
|
||||||
"gitattributes",
|
"gitattributes",
|
||||||
"gitignore",
|
"gitignore",
|
||||||
"go",
|
"go",
|
||||||
"help",
|
|
||||||
"html",
|
"html",
|
||||||
"http",
|
"http",
|
||||||
"java",
|
"java",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue