oh-my-fish/themes/mtahmed/fish_right_prompt.fish
Muhammad Tauqir Ahmad 20246508ca Add mtahmed theme.
--HG--
extra : amend_source : e3eb545150f7c4aa5ccaca80a64649419d154e6d
2013-11-20 17:50:46 -05:00

13 lines
279 B
Fish

# name: mtahmed
# Left prompt:
# - First 10 characters of hostname if ssh'ed
# - Current directory name
# - ─╼
# Right prompt:
# - Exit code of the previous command
function fish_right_prompt
set -l last_status $status
set_color $fish_color_cwd
printf $last_status
end