fish: added repaint to binds (#8113)
This commit is contained in:
parent
371608e69c
commit
0fe68257a9
1 changed files with 7 additions and 1 deletions
|
|
@ -261,6 +261,7 @@ let
|
|||
};
|
||||
erase = mkEnableOption "remove bind";
|
||||
silent = mkEnableOption "Operate silently";
|
||||
repaint = mkEnableOption "redraw prompt after command";
|
||||
operate = mkOption {
|
||||
description = "Operate on preset bindings or user bindings";
|
||||
type =
|
||||
|
|
@ -324,6 +325,7 @@ let
|
|||
{
|
||||
silent,
|
||||
erase,
|
||||
repaint,
|
||||
operate,
|
||||
mode,
|
||||
setsMode,
|
||||
|
|
@ -344,7 +346,11 @@ let
|
|||
];
|
||||
|
||||
cmdNormal = lib.concatStringsSep " " (
|
||||
[ "bind" ] ++ opts ++ [ k ] ++ map lib.escapeShellArg (lib.flatten [ command ])
|
||||
[ "bind" ]
|
||||
++ opts
|
||||
++ [ k ]
|
||||
++ map lib.escapeShellArg (lib.flatten [ command ])
|
||||
++ lib.optional repaint "repaint"
|
||||
);
|
||||
|
||||
cmdErase = lib.concatStringsSep " " (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue