On Wed, Sep 9, 2015 at 9:38 AM Mike Costanzo <mrcosta...@gmail.com> wrote:
> Hello all,
>
> I'm brand new to the list, so if this has already been discussed, I
> apologize.
>
> My feature request is simple (to explain for sure, to implement, possibly):
>
> * Have fish 'absorb' sudo when it is at the beginning of a command and
> highlight the arguments to sudo as if the command you are sudoing was being
> typed at the start of the prompt.
>
> * sudo would still remain on the prompt (perhaps with a special
> highlight?) and the remaining highlighting + suggestion scheme would apply
> as if the prompt began after sudo.
>
> * the current behavior effectively disables the visual feedback of whether
> or not the command you are sudoing exists in the path
>
> * one could argue that when you are about to sudo something, you need the
> visual cues more than usual.
>
>
> Any thoughts on this suggestion?
> I'm assuming this is the right place to send feature ideas, if it isn't,
> can someone please direct me to the correct place?
>
This places works, though I the issues list on github/fish-shell is more
active.
Seems like a reasonable idea. Implementing it as another option to the
"complete" command seems like the way to go. That way, it could be used for
any other commands that accept other commands on the command line, like su
and other shells like fish itself.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users