On 13 July 2015 at 04:52, walt <w41...@gmail.com> wrote:
> Maybe someone here has missed the recent discussion of zsh? ;)
>
> I just found this website, giving a wonderful primer on how to
> configure zsh:
>
> http://wiki.redbrick.dcu.ie/mw/Account_Customisation_(zsh)
>

I also moved to zsh just to check.

So apart of the zsh-newuser-install configuration which was quite
nice, I found the gentoo prompt nice, activate using the following
interface instead of manually set environment:

autoload -U promptinit
promptinit
prompt gentoo

I opened this[1] bug to make it nicer, in the mean time I store it at
~/.zfunc/prompt_alonbl_setup with 's/gentoo/alonbl/' and have in my
~zshrc:
---
fpath=(
        ~/.zfunc
        ${fpath}
)
---

Also notice that zsh does not execute ~/.profile, took me a while to
understand where I get errors and such, you need to have ~/.zprofile
with the following content:
---
[[ -e ~/.profile ]] && emulate sh -c '. ~/.profile'
---

Regards,
Alon

[1] https://bugs.gentoo.org/show_bug.cgi?id=554648

Reply via email to