Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Can I put a newline in an alias?
- X-seq: zsh-users 958
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Russell Hoover <rusty@xxxxxxxxx>, Zsh-users <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: Can I put a newline in an alias?
- Date: Sun, 20 Jul 1997 10:07:30 -0700
- In-reply-to: <19970720114142.29384@xxxxxxxxx>
- References: <19970719215133.24332@xxxxxxxxx> <970719210256.ZM1345@xxxxxxxxxxxxxxxxxxxxxxx> <19970720114142.29384@xxxxxxxxx>
On Jul 20, 11:41am, Russell Hoover wrote:
} Subject: Re: Can I put a newline in an alias?
}
} [...] all I wanted was to be able to do something like
} hit 'c <return>' to clear the screen and have a filenames-only listing of
} the current dir at the top of the screen.
function c() {
echotc cl
print -rc *(.)
}
} I was wondering more about what chars you'd use within an alias to represent
} 'control-'
There isn't any special syntax for that. You just have to put the control
characters in as themselves.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author