update header in install.sh

This commit is contained in:
ccmywish 2022-11-15 10:36:57 +08:00
parent d1372b0013
commit ec7c6b2665

View File

@ -1,4 +1,24 @@
#!/bin/bash
#!/usr/bin/env bash
# ---------------------------------------------------------------
# File : install.sh
# Authors : ccmywish <ccmywish@qq.com>
# aifuxi <aifuxi.js@gmail.com>
# Created on : <2021-01-06>
# Last modified : <2022-11-15>
#
# install:
#
# This file installs nvm and change Node.JS source on your linux
#
# ----------
# Changelog:
#
# ~> v0.1.0
# <2022-11-14> Update mirror source by @aifuxi
# <2021-01-06> Create file by @ccmywish
# ---------------------------------------------------------------
# Exit on error
set -e
export NVM_DIR="$HOME/.nvm" && (