From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8388 invoked from network); 14 Oct 1999 20:39:53 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Oct 1999 20:39:53 -0000 Received: (qmail 17084 invoked by alias); 14 Oct 1999 20:39:34 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2685 Received: (qmail 17077 invoked from network); 14 Oct 1999 20:39:34 -0000 To: zsh-users@sunsite.auc.dk Subject: Re: Zsh showoff References: <38059D26.E111B176@control.auc.dk> From: Bruce Stephens Date: 14 Oct 1999 21:38:56 +0100 In-Reply-To: Claus Alboege's message of "Thu, 14 Oct 1999 11:06:46 +0200" Message-ID: <87wvspllsv.fsf@cenderis.demon.co.uk> User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/21.2 (Shinjuku) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Claus Alboege 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".