fish: add time to prompt

master
an 2019-07-29 06:36:13 -04:00
parent 497f69a925
commit 8ac882b381
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,15 @@
# vim: syntax=fish:
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
function fish_right_prompt
echo (set_color c3e88d)(pwd)(set_color normal)
echo -n (set_color c3e88d)(pwd)
echo (set_color normal)
end
function fish_greeting