1
0
forked from extern/nix-config
donovanglover-nix-config/dots/common/.config/fish/functions/fish_prompt.fish
Donovan Glover 37cd921aca
Update dots
2018-09-10 15:09:00 -04:00

22 lines
607 B
Fish

# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover
function fish_prompt
set pwd (basename $PWD)
set hostname (hostname)
if [ $pwd = $USER ]
set pwd "~"
end
set_color yellow; echo -n "$USER@$hostname"
set_color normal; echo -n " "
set_color magenta; echo -n "($pwd)"
#set_color magenta; echo -n "$pwd"
set_color normal; echo -n " "
set_color red; echo -n "➤"
set_color green; echo -n "➤"
set_color blue; echo -n "➤"
set_color normal; echo -n " "
end