drooly wrote: ↑
Fri Apr 30, 2021 4:32 am
Let's clarify one thing:
This has nothing to do with lxterminal or LXDE, and everything with how your shell is set up.
OK, I se
I think the problem is, in my case - (lxterminal I see that other terminals may behave similar) - seems to execute the script, in the parameter given,
and then loads the history? and then shows the commandline in the lxterminal window.
On this commandline I get the full history - without the (last) script executed when opening the lxterminal.
Why is this a problem for me?
I would like to call the script, given as parameter by opening the lxterminal, by using the arrow key, as the last given command.
I use Lubuntu. Version? I don't know, sorry, I'm not so familiar with the linux interna, I'm just using it.
The history stuff you asked for, looks normal and it works everywhere perfekt, even in this lxterminal window after the executing of the script)
Code: Select all
>:~$ set | grep HIST
>:~$ env | grep HIST
>:~$ ls -l ~/.bash*
-rw------- 1 a b 69655 Apr 29 20:18 /home/a/.bash_history
-rw-r--r-- 1 a b 220 Feb 28 2018 /home/a/.bash_logout
-rw-r--r-- 1 a b 3871 Apr 29 09:10 /home/a/.bashrc