mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Minor cleanup
This commit is contained in:
parent
2c560f8c17
commit
ac45a5cb95
@ -966,15 +966,15 @@ end
|
|||||||
# ==============================
|
# ==============================
|
||||||
|
|
||||||
function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
|
function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
|
||||||
# Save the last status for later (do this before the `set` calls below)
|
|
||||||
set -l last_status $status
|
|
||||||
|
|
||||||
# Use a simple prompt on dumb terminals.
|
# Use a simple prompt on dumb terminals.
|
||||||
if test $TERM = "dumb"
|
if [ "$TERM" = "dumb" ]
|
||||||
echo "> "
|
echo "> "
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Save the last status for later (do this before the `set` calls below)
|
||||||
|
set -l last_status $status
|
||||||
|
|
||||||
__bobthefish_glyphs
|
__bobthefish_glyphs
|
||||||
__bobthefish_colors $theme_color_scheme
|
__bobthefish_colors $theme_color_scheme
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user