Changing directories spams embedded terminal

39 views
Skip to first unread message

Gennady Uraltsev

unread,
Sep 6, 2015, 5:29:49 PM9/6/15
to krusader-users
I am a long term Krusader user and I was wondering about changing directories in the embedded terminal.

The problem is that every change in directory does issue a command "cd blabla" but then it gets saved into my shell history. This is annoying.
Disabling changing directories is also not great as I would prefer the embedded terminal to follow me.

A solution would be to issue a " cd blabla" command preceded by a space. Bash usually ignores such lines for history.

More in general it would be great to expose some configuration of the embedded terminal in Krusader. Am I not finding it or is this functionality absent?

Davide Gianforte

unread,
Sep 9, 2015, 11:08:27 AM9/9/15
to krusade...@googlegroups.com
It's not a trivial change; krusader's embedded terminal comes from konsole's konsolepart;

every time you change a directory in krusader, it tells the new path to konsolepart like a "follow me" (as you said) which causes konsolepart to write the "cd" command on bash history.

In a shorter way, this is a Konsole problem, not a Krusader one. I'll take a look if there are some options in Konsole for that.

Davide

Davide Gianforte

unread,
Sep 9, 2015, 11:16:57 AM9/9/15
to krusade...@googlegroups.com
Ok, no options, I understood your suggestion; it should be trivial, I'll do some tests and send a review.

Davide

Davide Gianforte

unread,
Sep 13, 2015, 8:53:42 AM9/13/15
to krusade...@googlegroups.com

http://marc.info/?t=133844952400003&r=1&w=2

 

This topic relies on the same problem/wishlist, the change in Krusader it's easy (literally one character), but it requires HISTCONTROL env set to "ignorespace" or "ignoreboth" (this is not a default in many distros).

 

Davide

Reply all
Reply to author
Forward
0 new messages