|
|
|
|
|
by flexagoon
936 days ago
|
|
Speaking of starship, today I realized that I don't really need any of its features, I just like the way it looks. So I replicated it with pure fish by creating a simple function: function fish_prompt
# Fedora Silverblue workaround
set -l pwd (string replace /var/home /home $PWD)
echo
echo -s (set_color -o cyan)(prompt_pwd -D 3 $pwd) (set_color magenta)(fish_vcs_prompt)
echo -ns (set_color green) "" (set_color normal) " "
end
|
|