summaryrefslogtreecommitdiff
path: root/functions/fish_prompt.fish
blob: a61830aa60f1c7601d1aed60ae2a692834e65fbc (plain)
1
2
3
4
5
6
7
function fish_prompt
	printf "\e[37m%s\e[38;5;123m%s" (hostname) (prompt_pwd)
	if test $VIRTUAL_ENV
		printf " \e[37m(%s)" (basename $VIRTUAL_ENV)
	end
	printf " \e[38;5;212m<3\e[0m "
end