Gentoo Archives: gentoo-user

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] zsh: not so bad?
Date: Mon, 13 Jul 2015 07:13:00
Message-Id: CAOazyz2=qmVmpRcv9-8riQMMngqDFE8_3PJ-zKFZaAUE=M0vtw@mail.gmail.com
In Reply to: [gentoo-user] zsh: not so bad? by walt
1 On 13 July 2015 at 04:52, walt <w41ter@×××××.com> wrote:
2 > Maybe someone here has missed the recent discussion of zsh? ;)
3 >
4 > I just found this website, giving a wonderful primer on how to
5 > configure zsh:
6 >
7 > http://wiki.redbrick.dcu.ie/mw/Account_Customisation_(zsh)
8 >
9
10 I also moved to zsh just to check.
11
12 So apart of the zsh-newuser-install configuration which was quite
13 nice, I found the gentoo prompt nice, activate using the following
14 interface instead of manually set environment:
15
16 autoload -U promptinit
17 promptinit
18 prompt gentoo
19
20 I opened this[1] bug to make it nicer, in the mean time I store it at
21 ~/.zfunc/prompt_alonbl_setup with 's/gentoo/alonbl/' and have in my
22 ~zshrc:
23 ---
24 fpath=(
25 ~/.zfunc
26 ${fpath}
27 )
28 ---
29
30 Also notice that zsh does not execute ~/.profile, took me a while to
31 understand where I get errors and such, you need to have ~/.zprofile
32 with the following content:
33 ---
34 [[ -e ~/.profile ]] && emulate sh -c '. ~/.profile'
35 ---
36
37 Regards,
38 Alon
39
40 [1] https://bugs.gentoo.org/show_bug.cgi?id=554648

Replies

Subject Author
Re: [gentoo-user] zsh: not so bad? Leonardo Guilherme <leonardo.guilherme@×××××.com>
Re: [gentoo-user] zsh: not so bad? Alon Bar-Lev <alonbl@g.o>