Created
October 23, 2019 19:50
-
-
Save sanderploegsma/7a557ba99bd4a10abdd1aab870b6c600 to your computer and use it in GitHub Desktop.
This file contains 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
function fish_prompt | |
set last_status $status | |
if test $last_status -eq 0 | |
set_color green | |
else | |
set_color red | |
end | |
echo -n '=> ' | |
set_color normal | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment