summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/simple/fzfmenu/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/fzfmenu/default.nix b/krebs/5pkgs/simple/fzfmenu/default.nix
index 6d5e37988..446419a04 100644
--- a/krebs/5pkgs/simple/fzfmenu/default.nix
+++ b/krebs/5pkgs/simple/fzfmenu/default.nix
@@ -14,6 +14,10 @@ let
_file = toString ./profile.nix;
imports = singleton config;
options = {
+ defaultPrompt = mkOption {
+ default = ">";
+ type = types.str;
+ };
appName = mkOption {
default = "fzfmenu";
type = types.label;
@@ -45,7 +49,7 @@ pkgs.writeDashBin "fzfmenu" ''
exec 1>&''${FZFMENU_OUTPUT_FD-1}
fi
- PROMPT=">"
+ PROMPT=${shell.escape cfg.defaultPrompt}
for i in "$@"; do
case $i in
-p)