Shell代码段-head

【脚本头】

#!/bin/bash
############################################################
# Auth: Lukas
# Email: yangyang.huang@cloudfortdata.com
# Date: 2021-07-07 17:10:25
# License: (C)Copyright 2020-2021, Lukas Huang
# Version: 1.0
# Description: 
############################################################

【vscode代码段】

    "Print to header": {
        "prefix": "header",
        "body": [
            "#!/bin/bash",
            "############################################################",
            "# Auth: Lukas",
            "# Email: yangyang.huang@cloudfortdata.com",
            "# Date: ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}",
            "# License: (C)Copyright 2020-2021, Lukas Huang",
            "# Version: 1.0",
            "# Description: $1",
            "############################################################"
        ],
        "description": "shell script header"
    }

 

posted @ 2021-07-07 17:13  三人行必有我师娘  阅读(72)  评论(0编辑  收藏  举报