From 0da5ae1ae2f461cdd9199232a4a80312da59719b Mon Sep 17 00:00:00 2001 From: CppToGo Date: Sat, 12 Nov 2022 22:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B0=E5=AF=8Cmd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...44\232\347\211\210\346\234\254\346\216\247\345\210\266.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/linux/golang\345\244\232\347\211\210\346\234\254\346\216\247\345\210\266.md" "b/linux/golang\345\244\232\347\211\210\346\234\254\346\216\247\345\210\266.md" index ca4cec5..43e8f0c 100644 --- "a/linux/golang\345\244\232\347\211\210\346\234\254\346\216\247\345\210\266.md" +++ "b/linux/golang\345\244\232\347\211\210\346\234\254\346\216\247\345\210\266.md" @@ -1,6 +1,6 @@ # 脚本 -``` +```bash #!/bin/bash version=$1 @@ -30,7 +30,7 @@ fi # 环境变量设置 -``` +```bash PS1='\[\e[1;33m\][\u@\h]\[\e[m\]\[\e[1;36m\][`hostname -I`]\[\e[m\]\[\e[1;32m\] \w \[\e[m\]\n\[\e[1;37m\]\\$ >> \[\e[m\]' #设置PATH环境变量 -- Gitee