Re: [Fish-users] basic fish_prompt question

2015-07-30 Thread @lbutlr
On Jul 29, 2015, at 7:13 PM, Asger Hautop Drewsen wrote: > function fish_prompt > set_color purple > echo -n (date "+%m/%d/%y") > set_color FF0 > echo -n (pwd) '> ' > set_color normal > end Ah, thanks. the echo -n (date… ) was holding me up. -- Realizing the importance of the case, my men are

Re: [Fish-users] basic fish_prompt question

2015-07-29 Thread Asger Hautop Drewsen
You can just use a single echo: function fish_prompt     echo (set_color purple)(date "+%m/%d/%y")(set_color FF0) (pwd) '>' (set_color normal) end or you could use echo -n: function fish_prompt set_color purple echo -n (date "+%m/%d/%y") set_color FF0 echo -n (pwd) '> ' set_color normal end --