help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] pasted command not available in history


From: Chris F.A. Johnson
Subject: Re: [Help-bash] pasted command not available in history
Date: Sat, 20 Jul 2013 23:47:50 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

On Sat, 20 Jul 2013, Peng Yu wrote:

Hi,

When I paste a command without first typing any characters, the
command pasted will not be available in the history. Does anybody see
the same behavior? Should the command still be available in history
even it is pasted? Thanks.

   It is when I do it.

   Perhaps you are pasting a leading space and have
   HISTCONTROL=ignorespace set?

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]