Hello team -
Kernel: 5.15.85-1-MANJARO and DE: Plasma 5.26.4
Regarding Konsole, is there a way to configure it to recall commands? At this time I can arrow-up for commands executed during this session, but not so for earlier Konsole sessions? Can I change that in any of the confuration options or in the documentation?
Thx
rsv869
Hi, and nope, in my case it doesn’t work that way. Within a Konsole session it retains history, but if I close Konsole and start a new instance it is a blank slate.
You have to be referring to some kind of saved history that you have to access via the file menu buttons or via the actual file system, cause I’ve use Konsole and a couple of other Terminal emulators and everyone of them when closed and relaunched start clean again.
Maybe it’s a KDE thing…
I have virtual instance of Mint and when I use Gnome Terminal, issue and command, exit the terminal and restart Terminal I can “arrow up” and there’s the legacy command.
I don’t think so, I’m using KDE and my Konsole history is saved in .bash_history and in my other account where I test out default settings, the history appears to be stored in a file called .histfile
Correct, I consciously changed back to bash way back when manjaro switched to zsh (just because that’s what I’m used to), anyway this is why I have an alternate account on my system to test out the default settings.
Anyway in all cases, my history doesn’t disappear. I wonder if @Reid deleted those hidden history files, perhaps even the zsh config files?
I guess it could be some kind of bug that doesn’t affect me, but I wonder if @Reid could make a new user account and checks to see if the history disappears there too.
I’d do the same thing - every time I had KDE in a VM
zsh (the Manjaro flavour of it) just annoys me, with all it’s “helpful” features.
I’m obviously no power user, to whom these features can be really helpful.
Every terminal I’ve used retains history, it’s the reason we have .bash_history and .histfile etc. Clearing history is definitely not normal, but you don’t often get normal with KDE or Gnome.
OK… so…A bit of error on my part (sorry for adding to the confusion), but I can add some accurate info and context.
Shell=bash. And the .bash_history file exists and has lots of “history”. No issue there.
Up-and down-arrows work for current Konsole session but if closed and reopened, has no memory. Does that sound experience you’d expect?
Thx
Reid
But just to be sure we don’t talk past each other:
In KDE (Konsole) this might not mean what it says.
Even if you set your shell to bash
Konsole will still be using zsh - unless you create a new profile.
yes - it’s true (and totally counter intuitive)
The default profile in Konsole is running zsh - no matter what you set your shell to be via chsh.