Created
April 13, 2018 17:20
-
-
Save nyarly/2eee420449ce159f506ef8a984f8a833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defined in /home/judson/.config/fish/functions/status_glyph.fish @ line 1 | |
function status_glyph | |
switch $LAST_STATUS | |
case 0 | |
term_fcolor 3b1 | |
echo -n "π ";; | |
case 1 | |
term_fcolor c66 | |
echo -n "π ";; | |
case 2 | |
term_fcolor f00 | |
echo -n "π ";; | |
case '*' | |
term_fcolor f00 | |
echo -n "π± ";; | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment