Commit 7694d653 authored by Bruno Pinto's avatar Bruno Pinto

robbyrussell zsh theme ported to fish

parent 768a4205
function fish_prompt
if [ (git_branch_name) ]
if [ (is_git_dirty) ]
set git_dirty "✗"
end
printf '%s➜ %s %s git:(%s%s%s) %s ' (set_color red) (set_color blue) (basename (prompt_pwd)) (set_color red) (git_branch_name) (set_color blue) $git_dirty
else
printf '%s➜ %s %s ' (set_color red) (set_color blue) (basename (prompt_pwd))
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment