Gentoo Archives: gentoo-user

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