Skip to content

Commit c9f9e63

Browse files
committed
Merge remote-tracking branch 'gitcode/main'
2 parents 07cf543 + 6bc3991 commit c9f9e63

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

fish/functions/fish_greeting.fish

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
function fish_greeting
2-
set RELEASE_VERSION (lsb_release -r | awk '{print $2}')
3-
set CODE_VERSION (lsb_release -c | awk '{print $2}')
4-
echo "欢迎使用 Ubuntu $RELEASE_VERSION $CODE_VERSION 和 Fish Shell !"
2+
echo "欢迎使用 $(lsb_release -d -s) 和 Fish Shell !"
53
echo -e '输入 \e[32mhelp\e(B\e[m 查看使用指南'
6-
echo
7-
fortune-zh
84
end

fish/functions/fish_prompt.fish

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function fish_prompt
2929
# 权限标记符
3030
set_color -o
3131
if fish_is_root_user
32-
echo -n (set_color "#FF9300")'# '
32+
echo -n (set_color "#FF6600")'# '
3333
else
3434
echo -n (set_color brgreen)'$ '
3535
end

0 commit comments

Comments
 (0)