aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/_nvm_index_update.fish
diff options
context:
space:
mode:
authorIndrajith2024-07-03 02:03:35 +0530
committerIndrajith2024-07-03 02:03:35 +0530
commit824022cd1f633c70c4d2782934251616756f4668 (patch)
treea310eb4bf72b26c2d110838b8c487daaa3537bea /fish/functions/_nvm_index_update.fish
parent57eb70137b5bbcdabdc0f02eea5477b3e5f845a1 (diff)
downloaddots-824022cd1f633c70c4d2782934251616756f4668.tar.gz
dots-824022cd1f633c70c4d2782934251616756f4668.tar.bz2
dots-824022cd1f633c70c4d2782934251616756f4668.zip
Dots Updated
* Adds GTK Themes * Adds wlogout * Adds tmux config * Adds Pywal-16-colors * Removed unwanted gtk folders * Config Updates * Fish * Hyprland * Hyprlock * Hyprpaper * waybar
Diffstat (limited to 'fish/functions/_nvm_index_update.fish')
-rw-r--r--fish/functions/_nvm_index_update.fish20
1 files changed, 0 insertions, 20 deletions
diff --git a/fish/functions/_nvm_index_update.fish b/fish/functions/_nvm_index_update.fish
deleted file mode 100644
index c66753d0e..000000000
--- a/fish/functions/_nvm_index_update.fish
+++ /dev/null
@@ -1,20 +0,0 @@
-function _nvm_index_update
- test ! -d $nvm_data && command mkdir -p $nvm_data
-
- set --local index $nvm_data/.index
-
- if not command curl -q --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