[Home]History of JTRZshComments

HomePage | RecentChanges | Preferences

Revision 15 . . October 25, 2005 18:15 by dsl092-001-117.sfo1.dsl.speakeasy.net
Revision 14 . . March 3, 2004 08:52 by dsl081-049-022.sfo1.dsl.speakeasy.net
  

Difference (from prior major revision) (no other diffs)

Changed: 3c3
Read the man pages. None of this is secret or undocumented shit, it's just that it's a challenge to find the stuff that's actually easy to fit into your daily routine. So that's what I'm gonna contentrate on, stuff that actually helps on a daily basis.
Read the man pages. None of this is secret or undocumented shit, it's just that it's a challenge to find the stuff that's actually easy to fit into your daily routine. So that's what I'm gonna concentrate on, stuff that actually helps on a daily basis.

Changed: 7c7
# (zshparam) Set up your prompt. Use a right prompt. Prompts -- left and right -- accept a language with escape codes starting with % which is documented in zshparam(1) under Prompt Expansion. This is because the contents of all magic variables are documented in zshparam(1). This is a general rule. Learn it, and quit complaining about how you don't know what the escape sequences are. Stupid. OK, it's actually in zshmisc(1). Anyway, the advantage of right prompts is that they get out of your way automatically. So if you start typing and you enter the region of the command line where the right prompt is, it just disappears. This makes it good for stuff like current working directory, because if it's in the left prompt and you're in a deep directory, you sacrifice the whole line to prompt.
# (zshparam) Set up your prompt. Use a right prompt. Prompts -- left and right -- accept a language with escape codes starting with % which is documented in zshparam(1) under Prompt Expansion. This is because the contents of all magic variables are documented in zshparam(1). This is a general rule. Learn it, and quit complaining about how you don't know what the escape sequences are. Stupid. OK, it's actually in zshmisc(1). Anyway, the advantage of right prompts is that they get out of your way automatically. So if you start typing and you enter the region of the command line where the right prompt is, it just disappears. This makes it good for stuff like current working directory, because if it's in the left prompt and you're in a deep directory, you would otherwise sacrifice the whole line to prompt.

HomePage | RecentChanges | Preferences
Search: