2018-02-27 01:28:58 +01:00
|
|
|
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
|
|
# Copyright (C) 2017-2018 Donovan Glover
|
2018-02-20 05:58:42 +01:00
|
|
|
|
|
|
|
function fish_prompt
|
|
|
|
set pwd (basename $PWD)
|
2018-09-07 19:22:02 +02:00
|
|
|
set hostname (hostname)
|
2018-02-27 01:28:58 +01:00
|
|
|
|
2018-02-20 05:58:42 +01:00
|
|
|
if [ $pwd = $USER ]
|
|
|
|
set pwd "~"
|
|
|
|
end
|
|
|
|
|
2018-09-07 19:22:02 +02:00
|
|
|
set_color yellow; echo -n "$USER@$hostname"
|
|
|
|
set_color normal; echo -n " "
|
|
|
|
set_color magenta; echo -n "($pwd)"
|
2018-09-10 21:09:00 +02:00
|
|
|
#set_color magenta; echo -n "$pwd"
|
2018-04-03 02:56:13 +02:00
|
|
|
set_color normal; echo -n " "
|
2018-02-27 01:28:58 +01:00
|
|
|
set_color red; echo -n "➤"
|
|
|
|
set_color green; echo -n "➤"
|
|
|
|
set_color blue; echo -n "➤"
|
2018-04-03 02:56:13 +02:00
|
|
|
set_color normal; echo -n " "
|
2018-02-20 05:58:42 +01:00
|
|
|
end
|