Restructure for symlink
This change makes it easier to recursively copy these config files into a real home directory and also gets rid of empty folders
This commit is contained in:
parent
d9d326eaa1
commit
9a6bfc1daf
111 changed files with 560 additions and 2114 deletions
16
slackware/.config/fish/functions/_nvm_index_update.fish
Normal file
16
slackware/.config/fish/functions/_nvm_index_update.fish
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
function _nvm_index_update --argument-names mirror index
|
||||
if not command curl --location --silent $mirror/index.tab >$index.temp
|
||||
command rm -f $index.temp
|
||||
echo "nvm: Can't update index, host unavailable: \"$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
|
||||
Loading…
Add table
Add a link
Reference in a new issue