Registered Member
|
Hello,
I have troubles with how Dolphin terminal handles directory changes. It keeps interpreting GUI navigation with "cd" commands. Ex : - Open dolphin, type "ls" in terminal - Navigate to another folder (using Dolphin, not terminal) - Now terminal history is full of "cd" commands, need to go up several times to find the original "ls" command. Is there any way to prevent this ? Thank you |
|
the history is a feature of the textshell (being remote controlled by dolphin)
you can filter it to ignore command patterns, but that applies to *all* terminals (unless there's a way to automatically pass commands to the dolphin terminal, don't know at hand) http://unix.stackexchange.com/questions ... ur-history |
Registered Member
|
Thanks for your advice !
Good news is that Dolphin adds a space before the command (see https://bugs.kde.org/show_bug.cgi?id=204039) so it's possible to specifically target them. For those interested add in your ~/.bashrc :
then
Voilà ! |
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]