mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 19:51:00 +08:00
parent
ac428b23e5
commit
1877253f47
|
@ -109,6 +109,7 @@ Interactive improvements
|
|||
- The command line is drawn in the correct place if the prompt has a trailing empty line (:issue:`8298`).
|
||||
- ``history`` learned a new subcommand ``clear-session`` to erase all history from the current session (:issue:`5791`).
|
||||
- Pressing :kbd:`Control-C` in ``fish_key_reader`` will no longer print the incorrect "Press [ctrl-C] again to exit" message (:issue:`8510`).
|
||||
- The default command-not-found handler for Fedora/PackageKit now passes the whole command line, allowing for functionality such as running the suggested command directly (:issue:`8579`).
|
||||
|
||||
New or improved bindings
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
@ -32,7 +32,7 @@ else if contains -- suse $os || contains -- sles $os && type -q command-not-foun
|
|||
# Check for Fedora's handler
|
||||
else if test -f /usr/libexec/pk-command-not-found
|
||||
function fish_command_not_found
|
||||
/usr/libexec/pk-command-not-found $argv[1]
|
||||
/usr/libexec/pk-command-not-found $argv
|
||||
end
|
||||
# Check in /usr/lib, where Ubuntu places this command
|
||||
else if test -f /usr/lib/command-not-found
|
||||
|
|
Loading…
Reference in New Issue
Block a user