Hi,

mine is pretty simple, just customised for screen:

Cheers

Matthias

––––––––––––––––––––––––––––––––––––––––––––––––

function fish_prompt -d "Write out the prompt"
  if test -z $WINDOW
    printf '%s%s@%s%s%s%s%s> ' (set_color yellow) (whoami) (set_color purple) 
(hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color 
normal)
  else
    printf '%s%s@%s%s%s(%s)%s%s%s> ' (set_color yellow) (whoami) (set_color 
purple) (hostname|cut -d . -f 1) (set_color white) (echo $WINDOW) (set_color 
$fish_color_cwd) (prompt_pwd) (set_color normal)
  end
end

––––––––––––––––––––––––––––––––––––––––––––––––
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to