Verified Commit f8e37291 authored by AtjonTV's avatar AtjonTV
Browse files

Prompt: Add prompt_explain to get a help output of how the prompt is setup; Fix version

parent bd692e15
#!/usr/bin/fish
set -g prompt_version "2020.8.7"
function prompt_explain
set_color green
printf "<username>"
set_color white
printf ": "
set_color blue
printf "<folder> "
set_color eba434
printf "("
set_color red
printf "branch"
set_color 2b9494
printf "<head state>"
set_color eba434
printf ") "
set_color eba434
printf "{"
set_color blue
printf "pullable"
set_color eba434
printf "; "
set_color red
printf "pullable"
set_color eba434
printf "} "
set_color eba434
printf "["
set_color green
printf "additions"
set_color eba434
printf "|"
set_color red
printf "deletions"
set_color eba434
printf "] "
set_color blue
printf "["
set_color green
printf "tags"
set_color blue
printf "] "
set_color green
printf "\$"
end
function prompt_version
echo "AtjonTV's FISH Prompt 2020.1"
echo "AtjonTV's FISH Prompt $prompt_version"
echo ""
echo "Current Prompt setup:"
prompt_explain
end
function get_head
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment