zsh-users
 help / color / mirror / code / Atom feed
* Zsh showoff
@ 1999-10-14  9:06 Claus Alboege
  1999-10-14 20:38 ` Bruce Stephens
  1999-12-27 14:32 ` Larry P . Schrof
  0 siblings, 2 replies; 4+ messages in thread
From: Claus Alboege @ 1999-10-14  9:06 UTC (permalink / raw)
  To: zsh-users

Hello :)

I'm rather new to the zsh, and wonder if someone would show me some
.zsh* files, that could show some of the nice (and more spectacular)
features of zsh. Right now I don't care about memory footprint, so
everything is welcome.

Bye, Claus Alboege


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Zsh showoff
  1999-10-14  9:06 Zsh showoff Claus Alboege
@ 1999-10-14 20:38 ` Bruce Stephens
  1999-11-14  1:24   ` Adam Spiers
  1999-12-27 14:32 ` Larry P . Schrof
  1 sibling, 1 reply; 4+ messages in thread
From: Bruce Stephens @ 1999-10-14 20:38 UTC (permalink / raw)
  To: zsh-users

Claus Alboege <tractrix@control.auc.dk> writes:

> I'm rather new to the zsh, and wonder if someone would show me some
> .zsh* files, that could show some of the nice (and more spectacular)
> features of zsh. Right now I don't care about memory footprint, so
> everything is welcome.

The default behaviour is pretty good.  Here's approximately what I
have in .zshrc:


PS1="%n%# "
RPROMPT="%~"
[[ $TERM = "xterm" ]] && stty pass8 -ixon && bindkey -me
setopt autopushd autocd autolist
setopt autoparamkeys autoremoveslash cdablevars
setopt completeinword correctall correct equals
setopt extendedglob magicequalsubst histignoredups
setopt numericglobsort pushdignoredups

ttyctl -u


There's some completion stuff, but that's all automatically added in
3.1.6.

I'm not sure what would be obvious (other than the current directory
at the right hand side, from RPROMPT, obviously).

autopushcd means that every change directory command acts as a pushd
(so you can use popd to get back to previous directories, which I find
convenient).  

autocd means you can change to directories just by naming them (i.e.,
you can say things like "../../../src", omitting the command "cd").

Probably the one I use most is extendedglob.  All C files underneath
the current working directory modified in the last day, "**/*.c(m-1)",
and stuff.  The ~ operator is handy, too: all files except the C
files, "*~*.c".


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Zsh showoff
  1999-10-14 20:38 ` Bruce Stephens
@ 1999-11-14  1:24   ` Adam Spiers
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Spiers @ 1999-11-14  1:24 UTC (permalink / raw)
  To: zsh-users; +Cc: tractrix

Claus Alboege <tractrix@control.auc.dk> writes:
> I'm rather new to the zsh, and wonder if someone would show me some
> .zsh* files, that could show some of the nice (and more spectacular)
> features of zsh. Right now I don't care about memory footprint, so
> everything is welcome.

Apologies for the ahem, somewhat delayed reply.  If you're still
interested, I've made a version of my .zshrc vaguely fit for public
consumption:

  http://www.new.ox.ac.uk/~adam/computing/

Use it with the latest CVS code and you'll get most of the really nice
bells and whistles enabled, the new completion system being the most
spectacular (Just Press Tab(TM)).

Adam


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Zsh showoff
  1999-10-14  9:06 Zsh showoff Claus Alboege
  1999-10-14 20:38 ` Bruce Stephens
@ 1999-12-27 14:32 ` Larry P . Schrof
  1 sibling, 0 replies; 4+ messages in thread
From: Larry P . Schrof @ 1999-12-27 14:32 UTC (permalink / raw)
  To: Claus Alboege; +Cc: zsh-users

www.dotfiles.com

On Thu, Oct 14, 1999 at 11:06:46AM +0200, Claus Alboege wrote:
> Hello :)
> 
> I'm rather new to the zsh, and wonder if someone would show me some
> .zsh* files, that could show some of the nice (and more spectacular)
> features of zsh. Right now I don't care about memory footprint, so
> everything is welcome.
> 
> Bye, Claus Alboege


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-27 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-14  9:06 Zsh showoff Claus Alboege
1999-10-14 20:38 ` Bruce Stephens
1999-11-14  1:24   ` Adam Spiers
1999-12-27 14:32 ` Larry P . Schrof

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).