We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07cf543 + 6bc3991 commit c9f9e63Copy full SHA for c9f9e63
fish/functions/fish_greeting.fish
@@ -1,8 +1,4 @@
1
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 !"
+ echo "欢迎使用 $(lsb_release -d -s) 和 Fish Shell !"
5
echo -e '输入 \e[32mhelp\e(B\e[m 查看使用指南'
6
- echo
7
- fortune-zh
8
end
fish/functions/fish_prompt.fish
@@ -29,7 +29,7 @@ function fish_prompt
29
# 权限标记符
30
set_color -o
31
if fish_is_root_user
32
- echo -n (set_color "#FF9300")'# '
+ echo -n (set_color "#FF6600")'# '
33
else
34
echo -n (set_color brgreen)'$ '
35
0 commit comments