From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 17 May 2005 14:44:59 +0400 From: "Dmitry V. Levin" To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] Re: zsh =?koi8-r?Q?=C9_wks2?= =?koi8-r?Q?6?= Message-ID: <20050517104459.GA3821@basalt.office.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus discussion list References: <20050429174842.GA8593@eugene-home.ikz.ru> <20050517090446.GR3554@solemn.turbinal.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <20050517090446.GR3554@solemn.turbinal.org> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 10:45:01 -0000 Archived-At: List-Archive: --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 17, 2005 at 01:04:46PM +0400, Alexey Tourbin wrote: > On Fri, Apr 29, 2005 at 11:48:43PM +0600, Eugene Vlasov wrote: > > eugene ~ # grep PROMPT .zshrc > > PROMPT=3D'%n %4~ %(!.#.$) ' > >=20 > > =F2=C1=CE=D8=DB=C5 =D3 =D4=C1=CB=C9=CD=C9 =CE=C1=D3=D4=D2=CF=CA=CB=C1= =CD=C9 zsh =CF=D4=CF=C2=D2=C1=D6=C1=CC #, =C5=D3=CC=C9 =D2=C1=C2=CF=D4=C1= =C5=DB=D8 =C9=DA =D0=CF=C4 > > root =C9 $ =D7 =D0=D2=CF=D4=C9=D7=CE=CF=CD =D3=CC=D5=DE=C1=C5. =E1 =D4= =C5=D0=C5=D2=D8 =D7=D3=C5 =D7=D2=C5=CD=D1 =D0=CF=CB=C1=DA=D9=D7=C1=C5=D4 #.= bash =D7=D3=C5 > > =D0=CF=CB=C1=DA=D9=D7=C1=C5=D4 =CB=C1=CB =CE=C1=C4=CF. =ED=CF=D6=CE=CF = =CB=CF=CE=C5=DE=CE=CF =D0=CF=CD=C5=CE=D1=D4=D8 PROMPT, =CE=CF =C8=CF=D4=C5= =CC=CF=D3=D8 =C2=D9 > > =D0=CF=CE=D1=D4=D8, =D7 =DE=C5=CD =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =C4=C5= =CC=CF. >=20 > $ info zsh 'Prompt Expansion' >=20 > %# > A `#' if the shell is running with privileges, a `%' if not. > Equivalent to `%(!.#.%%)'. The definition of `privileged', for > these purposes, is that either the effective user ID is zero, or, > if POSIX.1e capabilities are supported, that at least one > capability is raised in either the Effective or Inheritable > capability vectors. >=20 > =F7 prompt.c =C9=D3=D0=CF=CC=D8=DA=D5=C5=D4=D3=D1 =C6=D5=CE=CB=C3=C9=D1 p= rivasserted(). =EE=C1=D7=C5=D2=CE=CF=C5, =D7 wks26 =D7=D3=C5 =D0=D2=CF=C3=C5=D3=D3=D9 =D0= =D2=C9=D7=C9=CC=C5=C7=C9=D2=CF=D7=C1=CE=CE=D9=C5. --=20 ldv --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCicsr9viEa8HiNCkRAiBzAJsGTybpg36pHT8WF+DoYpbuObbKawCfXQaF VjuF56mxV6OrT/+gAdTdAyo= =DFtr -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--