fish: add time to prompt
parent
497f69a925
commit
8ac882b381
|
@ -1,11 +1,15 @@
|
||||||
# vim: syntax=fish:
|
# vim: syntax=fish:
|
||||||
|
|
||||||
function fish_prompt
|
function fish_prompt
|
||||||
echo (set_color c792ea)"$hostname% "(set_color normal)
|
echo -n (set_color 70a9ff)(date +%H:%M:%S)
|
||||||
|
echo -n (set_color normal)@
|
||||||
|
echo -n (set_color c792ea)$hostname
|
||||||
|
echo (set_color normal)"% "
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_right_prompt
|
function fish_right_prompt
|
||||||
echo (set_color c3e88d)(pwd)(set_color normal)
|
echo -n (set_color c3e88d)(pwd)
|
||||||
|
echo (set_color normal)
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
|
|
Loading…
Reference in New Issue