mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
fish: added repaint to binds (#8113)
This commit is contained in:
committed by
GitHub
parent
371608e69c
commit
0fe68257a9
@@ -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 " " (
|
||||
|
||||
Reference in New Issue
Block a user