You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
279 B
Fish
13 lines
279 B
Fish
11 years ago
|
# 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
|