2012-09-06 08:30:26 +00:00
|
|
|
# name: Screen Savvy
|
|
|
|
# author: Matthias
|
2019-09-19 06:35:16 +00:00
|
|
|
function fish_prompt -d "Screen Savvy prompt"
|
|
|
|
if test -z "$WINDOW"
|
|
|
|
printf '%s%s@%s%s%s%s%s> ' (set_color yellow) $USER (set_color purple) (prompt_hostname) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
2016-11-02 02:19:45 +00:00
|
|
|
else
|
2019-09-19 06:35:16 +00:00
|
|
|
printf '%s%s@%s%s%s(%s)%s%s%s> ' (set_color yellow) $USER (set_color purple) (prompt_hostname) (set_color white) (echo $WINDOW) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
2016-11-02 02:19:45 +00:00
|
|
|
end
|
2012-09-06 08:30:26 +00:00
|
|
|
end
|