summaryrefslogtreecommitdiff
path: root/functions/fish_prompt.fish
blob: 84c7e83079bc37e88618cd12510bb5fa5777d89f (plain)
1
2
3
4
5
6
7
8
9
function fish_prompt
	printf '['
	printf '%s%s%s' (set_color blue) (echo $USER) (set_color normal)
	printf '@'
	printf '%s%s%s' (set_color green) (cat /etc/hostname) (set_color normal)
	printf '] '
	printf '%s%s' (set_color red) (pwd)
	printf '%s>: ' (set_color normal)
end