Show More
@@ -515,10 +515,12 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
515 | 515 | create_identifier(binding.command): binding.command |
|
516 | 516 | for binding in KEY_BINDINGS |
|
517 | 517 | } |
|
518 |
allowed_commands.update( |
|
|
518 | allowed_commands.update( | |
|
519 | { | |
|
519 | 520 | create_identifier(command): command |
|
520 | 521 | for command in UNASSIGNED_ALLOWED_COMMANDS |
|
521 |
} |
|
|
522 | } | |
|
523 | ) | |
|
522 | 524 | shortcuts_to_skip = [] |
|
523 | 525 | shortcuts_to_add = [] |
|
524 | 526 | |
@@ -591,12 +593,14 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
591 | 593 | RuntimeBinding( |
|
592 | 594 | command, |
|
593 | 595 | keys=new_keys or old_keys, |
|
594 |
filter= |
|
|
595 |
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
|
|
|
599 |
|
|
|
596 | filter=( | |
|
597 | filter_from_string(new_filter) | |
|
598 | if new_filter is not None | |
|
599 | else ( | |
|
600 | old_filter | |
|
601 | if old_filter is not None | |
|
602 | else filter_from_string("always") | |
|
603 | ) | |
|
600 | 604 | ), |
|
601 | 605 | ) |
|
602 | 606 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now