Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554648 - app-shells/zsh - gentoo prompt - enable directory components selector
Summary: app-shells/zsh - gentoo prompt - enable directory components selector
Status: RESOLVED DUPLICATE of bug 213627
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-12 18:13 UTC by Alon Bar-Lev (RETIRED)
Modified: 2015-07-13 17:33 UTC (History)
2 users (show)

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


Attachments
prompt_gentoo_setup-1.diff (prompt_gentoo_setup-1.diff,1.00 KB, patch)
2015-07-12 18:13 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2015-07-12 18:13:54 UTC
Created attachment 406618 [details, diff]
prompt_gentoo_setup-1.diff

Hi,

I've looked into zsh and found that the gentoo theme is great just that it shows only last component of the directory, while it may be that people may wish more.

Attached is a simple patch that enables customization of the theme to include the number of directory components, I hope you accept it.

In future it may be good idea to always accept options using getopts to enable future addition of commands without the need to count positional arguments.

Thanks,
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2015-07-13 17:33:32 UTC
Found bug#213627 which has superior prompt.

*** This bug has been marked as a duplicate of bug 213627 ***