Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554648

Summary: app-shells/zsh - gentoo prompt - enable directory components selector
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alonbl, jrmalaq
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: prompt_gentoo_setup-1.diff

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 ***