Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59190 - Shell configuration standartisation
Summary: Shell configuration standartisation
Status: RESOLVED DUPLICATE of bug 38381
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: Low minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 14:17 UTC by Andrew Kirilenko
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Kirilenko 2004-08-02 14:17:21 UTC
I decided to try out zsh (I'm bash user) and got simple but ugly problem with setup. After several hours fscking around I have created usable configuration (/etc/profile.all included by both /etc/profile and /etc/zsh/zprofile) but it's still dirty. I'd like to suggest to move to smth more modular and universal, so it'll be necessary only to enable modules in profiles (modules itself can be provided by baselayout (common) and be shell-specific). Zsh's prompt themes structure is more-less OK example.

That's not so important for the one-user system, but will be very7 helpfull for 100-user...
Comment 1 SpanKY gentoo-dev 2004-08-02 15:29:13 UTC
whats wrong with the standard profile and zsh
Comment 2 Andrew Kirilenko 2004-08-02 15:44:47 UTC
For example PROMPT_COMMAND (for setting xterm title)...
Comment 3 SpanKY gentoo-dev 2004-08-02 16:16:06 UTC
i dont see how PROMPT_COMMAND matters in this case

zsh supports the standard PS[1-4]

if you want shell-specific support, add it to the shell-specific profile
Comment 4 Andrew Kirilenko 2004-08-02 17:14:05 UTC
I'm not talking about prompt, I'm talking about xterm's title bar.

Take a look at apache configs - I prefer gentoo way than one monolith httpd.conf. The same here...
Comment 5 SpanKY gentoo-dev 2004-08-02 17:39:45 UTC
in that case how is PROMPT_COMMAND shell specific ;)

*** This bug has been marked as a duplicate of 38381 ***
Comment 6 SpanKY gentoo-dev 2004-08-02 17:40:08 UTC
err whatever, ignore my comments

Dupe of 38381 at any rate