Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: > Redirection
- X-seq: zsh-users 13610
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: > Redirection
- Date: Wed, 24 Dec 2008 17:21:15 +0100
- In-reply-to: <ACD17887-44D8-4ACA-9EDD-19B04C737889@xxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <50723.153.98.68.197.1230126384.squirrel@xxxxxxxxxxxxxxxxxxx> <20081224152024.GA13435@namib> <ACD17887-44D8-4ACA-9EDD-19B04C737889@xxxxxxx>
@ Rocteur CC <jerry@xxxxxxx>:
> On 24 Dec 2008, at 16:20, Chris Johnson wrote:
>> Jerry Rocteur sent me the following 0.3K:
>>
>>> Sorry for this but it is bugging me an I can't find an answer.
>>>
>>> When I type > filename
>>>
>>> I want it to do the same as cp /dev/null filename
>>
>> If I read you right, I think you want to precede that command with a
>> colon:
>>
>> : > filename
>
> Hi Chris,
>
> That does work indeed but I want the default behaviour, I would like
> that when I type
(k)sh-like behaviour...
> > filename that it behaves as if I had done : > filename!
>
> I'm looking for a setopt that will fix this non standard behaviour.
man zshparam | less -p NULLCMD
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author