I do have an alias with `&& exit` in it, but removing that alias
doesn't get rid of the bug. I've tested it on another system (Xubuntu
24.04, stock install), and the issue didn't occur.
Narrowed it down to the line `eval "$(fasd --init auto)"` in my
.bashrc. Must be some kindof bug with fasd
(http
Ethan Gascoigne writes:
> Narrowed it down to the line `eval "$(fasd --init auto)"` in my
> .bashrc. Must be some kindof bug with fasd
> (https://github.com/whjvenyl/fasd). Any idea how fasd could cause
> `;exit` to be interpreted as a valid command? Running `alias exit`
> shows that it's not alia
yea make bug report
.. in my experience , such bash codes on github have very low code quality
..
peace .. ++
On Wed, Mar 26, 2025, 15:09 Ethan Gascoigne wrote:
> I do have an alias with `&& exit` in it, but removing that alias
> doesn't get rid of the bug. I've tested it on another system (Xub
On Tue, Mar 25, 2025 at 05:55:23PM -0400, Greg Wooledge wrote:
> On Tue, Mar 25, 2025 at 22:16:15 +0100, microsuxx wrote:
> > when bash reads exit cmd it will exit
> > so bash reads rc and exits ..
> > also .. u may have a ';exit' alias ..
>
> The claim is that the ;exit appears in .bash_history (n
than
>> To: bug-bash@gnu.org
>> Subject: ;exit in bash history causes bash to exit
>>
>> Configuration Information [Automatically generated, do not change]:
>> Machine: x86_64
>> OS: linux-gnu
>> Compiler: gcc
>> Compilation CFLAGS: -march=x86-64 -
ah bash history file ..
.. yea i tried , bash dev doesnt segfault or anything , with it on a line
and without an ending newline
warm greetings .. :))
On Tue, Mar 25, 2025, 22:56 Greg Wooledge wrote:
> On Tue, Mar 25, 2025 at 22:16:15 +0100, microsuxx wrote:
> > when bash reads exit cmd it will
On Tue, Mar 25, 2025 at 22:16:15 +0100, microsuxx wrote:
> when bash reads exit cmd it will exit
> so bash reads rc and exits ..
> also .. u may have a ';exit' alias ..
The claim is that the ;exit appears in .bash_history (not .bashrc)
and that this somehow causes a new instance of bash to exit.
dude if u tell bash to exit it will exit ..
On Tue, Mar 25, 2025, 20:41 Ethan Gascoigne wrote:
> From: ethan
> To: bug-bash@gnu.org
> Subject: ;exit in bash history causes bash to exit
>
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_
Hello Ethan,
I can't reproduce the problem:
> Repeat-By:
> Open a terminal with bash as the shell
> Type `;exit`
This results in
bash: syntax error near unexpected token `;'
but not in closing the shell.
> Re-open the terminal, it will immediately close
Is there maybe
From: ethan
To: bug-bash@gnu.org
Subject: ;exit in bash history causes bash to exit
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-fexceptions -Wp
10 matches
Mail list logo