Add nvm to fish
changed theme back to 'tokyonight' on nvim
Added jq for ranger as a dependency
This commit is contained in:
KaasKop-
2023-12-29 16:19:44 +01:00
parent 1e94159dbf
commit cf061d2777
14 changed files with 363 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
function _nvm_index_update
test ! -d $nvm_data && command mkdir -p $nvm_data
set --local index $nvm_data/.index
if not command curl --location --silent $nvm_mirror/index.tab >$index.temp
command rm -f $index.temp
echo "nvm: Can't update index, host unavailable: \"$nvm_mirror\"" >&2
return 1
end
command awk -v OFS=\t '
/v0.9.12/ { exit } # Unsupported
NR > 1 {
print $1 (NR == 2 ? " latest" : $10 != "-" ? " lts/" tolower($10) : "")
}
' $index.temp >$index
command rm -f $index.temp
end