[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5976: 23.1.93; yanking shell commands - converted to single lines
From: |
Thierry Volpiatto |
Subject: |
bug#5976: 23.1.93; yanking shell commands - converted to single lines |
Date: |
Wed, 21 Apr 2010 19:36:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Juri Linkov <juri@jurta.org> writes:
>>> So I see no way to save multi-line shell commands in ~/.bash_history
>>> in a way compatible with Bash. Do you have any ideas?
>>
>> It seem eshell does what you ask, maybe you should look there?
>
> Does eshell save multi-line shell commands in ~/.bash_history
> compatible with Bash?
No, it save in eshell file history (.emacs.d/.eshell/)
,----
| thierry@~/.emacs.d/.eshell $ ls
| alias history lastdir profile
`----
,----
| thierry@~/.emacs.d/.eshell $ echo 'hello
| world'
| hello
| world
| ==> C-up RET
| thierry@~/.emacs.d/.eshell $ echo 'hello
| world'
| hello
| world
`----
That save like that in history file:
,----
| echo 'helloworld'
| echo 'helloworld'
`----
HTH
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/