On Jan 5, 2008 7:15 PM, James Vega <[EMAIL PROTECTED]> wrote:
> On Sat, Jan 05, 2008 at 03:19:46PM +0000, Endolith wrote:
> > I often type things like "apt-get install package" and forget to type the 
> > sudo.
> >  So it complains, and then I type "sudo !!"
> >
> > http://xkcd.com/149/
> >
> > Anyway, it doesn't work in fish.
>
> No, it doesn't work in fish.  That's intended.  Instead use
> "sudo <Alt-Up>".
>
<Alt+Up> appends the last word of the last command, so it won't do
what you want in general.
But what's wrong with "<Up><Home>sudo "?

-- 
Beni Cherniavsky <[EMAIL PROTECTED]> (I read email only on weekends)

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to