Last active
August 23, 2016 04:14
-
-
Save koesherbacon/fa2ea4b18b3cd4e30aa6aa921a77129f to your computer and use it in GitHub Desktop.
Fish ROOT Prompt I made because I was bored
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 --description 'Write out the prompt' | |
set -l last_status $status | |
echo '' | |
set_color red | |
echo '┏━━━━━━━━━━━━━━━━━━┓' | |
echo '┣━━━ FISH ROOT ━┳━┛' | |
if not test $last_status -eq 0 | |
set_color $fish_color_error | |
end | |
set_color red | |
echo -n '┗━━━━━━━━━━━━━━━━┛ # ' | |
set_color normal | |
end | |
# screenshot available here: http://imgur.com/VxqBiuk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
screenshot available here: http://imgur.com/VxqBiuk