It's worth a try.

Note that it would be "eval $foo"

On Jun 11, 2012, at 4:33 PM, Myrddin Emrys wrote:

> Does that mean that you could easily create an alias to do it by creating 
> something of the effect of: 
> 
> execute $foo; history --delete $foo
> 
> On Mon, Jun 11, 2012 at 5:38 PM, ridiculous_fish 
> <[email protected]> wrote:
> Hi Gavin,
> 
> There's no way to run a command with suppressed history yet. However, it is 
> possible to delete a history item, via the history built-in (e.g. history 
> --delete foo).
> 
> Hope that helps,
> _fish
> 
> On Jun 7, 2012, at 3:48 PM, Gavin Brock wrote:
> 
> > Hi,
> >
> > In some shells, such as bash, you can prevent a command that you are about 
> > to execute, or just executed, from appearing in shell history. Is there any 
> > similar ability in fish?
> >
> > I am looking for this because I am trying to make csshX fully fish 
> > compatible,  and the program sends commands to shells via applescript, and 
> > I don't want to pollute the users history.
> >
> > Thanks,
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
> 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to