fish: added repaint to binds (#8113)

This commit is contained in:
Raul Rodrigues de Oliveira
2025-11-03 00:53:28 -03:00
committed by GitHub
parent 371608e69c
commit 0fe68257a9

View File

@@ -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 " " (