hostname in prompt
This commit is contained in:
parent
cf7c8e7ae9
commit
31a8bc976b
1 changed files with 8 additions and 0 deletions
|
@ -86,7 +86,15 @@ function fish_mode_prompt
|
||||||
printf '] '
|
printf '] '
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function fish_right_prompt
|
||||||
|
set_color $__slavic_color_lilac
|
||||||
|
date '+%a %b-%d-%Y %T'
|
||||||
|
end
|
||||||
|
|
||||||
function fish_prompt
|
function fish_prompt
|
||||||
|
__slavic_color_echo $__slavic_color_blue " "
|
||||||
|
__slavic_color_echo $__slavic_color_white (prompt_hostname)
|
||||||
|
printf " "
|
||||||
__slavic_color_echo $__slavic_color_purple (prompt_pwd)
|
__slavic_color_echo $__slavic_color_purple (prompt_pwd)
|
||||||
__slavic_git_status
|
__slavic_git_status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue