1 { lib, config, pkgs, ... }:
3 cfg = config.programs.bash.blesh;
6 programs.bash.blesh.enable = lib.mkEnableOption "blesh, a full-featured line editor written in pure Bash";
9 config = lib.mkIf cfg.enable {
10 programs.bash.interactiveShellInit = lib.mkBefore ''
11 source ${pkgs.blesh}/share/blesh/ble.sh
14 meta.maintainers = with lib.maintainers; [ laalsaas ];