Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 406618 Details for
Bug 554648
app-shells/zsh - gentoo prompt - enable directory components selector
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prompt_gentoo_setup-1.diff
prompt_gentoo_setup-1.diff (text/plain), 1.00 KB, created by
Alon Bar-Lev (RETIRED)
on 2015-07-12 18:13:54 UTC
(
hide
)
Description:
prompt_gentoo_setup-1.diff
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2015-07-12 18:13:54 UTC
Size:
1.00 KB
patch
obsolete
>--- prompt_gentoo_setup-1 2013-06-25 22:01:06.000000000 +0300 >+++ prompt_gentoo_setup-1 2015-07-12 21:06:34.926994154 +0300 >@@ -4,7 +4,7 @@ prompt_gentoo_help () { > cat <<'EOF' > This prompt is color-scheme-able. You can invoke it thus: > >- prompt gentoo [<promptcolor> [<usercolor> [<rootcolor>]]] >+ prompt gentoo [<promptcolor> [<usercolor> [<rootcolor> [<dircomps>>]]]] > > EOF > } >@@ -13,6 +13,7 @@ prompt_gentoo_setup () { > local prompt_gentoo_prompt=${1:-'blue'} > local prompt_gentoo_user=${2:-'green'} > local prompt_gentoo_root=${3:-'red'} >+ local prompt_gentoo_dircomps=${4:-1} > > if [ "$USER" = 'root' ] > then >@@ -24,7 +25,7 @@ prompt_gentoo_setup () { > > #setopt noxtrace localoptions > >- local path_prompt="%B%F{$prompt_gentoo_prompt}%1~" >+ local path_prompt="%B%F{$prompt_gentoo_prompt}%$prompt_gentoo_dircomps~" > typeset -g PS1="$base_prompt$path_prompt %# $post_prompt" > typeset -g PS2="$base_prompt$path_prompt %_> $post_prompt" > typeset -g PS3="$base_prompt$path_prompt ?# $post_prompt"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 554648
: 406618