[konsole] [Bug 424279] Add bookmarking of typed commands to Konsole

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Jul 16 14:12:46 BST 2020


https://bugs.kde.org/show_bug.cgi?id=424279

--- Comment #3 from tcanabrava at kde.org ---
but you do know the commands that you need to type, adding a menu that executes
arbitrary shell commands is a security risk - think for instance that someone
changed the `copy` action on your menu to `rm -rf /*`

I won't implement such feature, if you want to run commands on the command line
you can implement the functions that will run the commands in the correct file,
~/.bashrc for instance.

The reasons:
- It's easier to verify what's the function you are calling (just look at the
source of ~/.bashrc and you have your function)
- I won't add a security risk to konsole
- Users should be expected to learn the tool that they are using, creating a
function in shell is the proper way to add "typing a repeated commands"

But thinking a bit on this, we can actually make this userfull:
- A side panel with "shortcuts" that do show what the command is and a title /
comment for it.
- a way to verify for errors (running shellsheck on the file?)

are you willing to help develop such feature?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list