[PLUG] Saving terminal commands
Wil Cooley
wcooley at nakedape.cc
Fri Feb 6 02:34:42 UTC 2009
On Wed, 2009-02-04 at 22:59 -0800, John Jason Jordan wrote:
> On Wed, 4 Feb 2009 21:18:22 -0800
> I need something that pops the command into the terminal, but lets me
> edit it before running it. I don't mind hitting the Enter button by
> myself. Really, I can manage that. :)
>
> Is there a way to make it just give me the command but not run it?
shopt -s histverify
This is a bash built-in shell command that does exactly that. If you put
that in your ~/.bashrc, it should always be in effect.
Wil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20090205/6c9ce7b1/attachment.asc>
More information about the PLUG
mailing list