Merge pull request #202369 from laalsaas/blesh
This commit is contained in:
commit
082ccd0a6d
@ -22,7 +22,14 @@
|
|||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-release-23.05-new-services">
|
<section xml:id="sec-release-23.05-new-services">
|
||||||
<title>New Services</title>
|
<title>New Services</title>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<link xlink:href="https://github.com/akinomyoga/ble.sh">blesh</link>,
|
||||||
|
a line editor written in pure bash. Available as
|
||||||
|
<link linkend="opt-programs.bash.blesh.enable">programs.bash.blesh</link>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<link xlink:href="https://github.com/junegunn/fzf">fzf</link>,
|
<link xlink:href="https://github.com/junegunn/fzf">fzf</link>,
|
||||||
|
@ -14,6 +14,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
|
||||||
|
- [blesh](https://github.com/akinomyoga/ble.sh), a line editor written in pure bash. Available as [programs.bash.blesh](#opt-programs.bash.blesh.enable).
|
||||||
|
|
||||||
- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
|
- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
|
||||||
|
|
||||||
## Backward Incompatibilities {#sec-release-23.05-incompatibilities}
|
## Backward Incompatibilities {#sec-release-23.05-incompatibilities}
|
||||||
|
@ -135,6 +135,7 @@
|
|||||||
./programs/bandwhich.nix
|
./programs/bandwhich.nix
|
||||||
./programs/bash/bash.nix
|
./programs/bash/bash.nix
|
||||||
./programs/bash/bash-completion.nix
|
./programs/bash/bash-completion.nix
|
||||||
|
./programs/bash/blesh.nix
|
||||||
./programs/bash/ls-colors.nix
|
./programs/bash/ls-colors.nix
|
||||||
./programs/bash/undistract-me.nix
|
./programs/bash/undistract-me.nix
|
||||||
./programs/bash-my-aws.nix
|
./programs/bash-my-aws.nix
|
||||||
|
16
nixos/modules/programs/bash/blesh.nix
Normal file
16
nixos/modules/programs/bash/blesh.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.programs.bash.blesh;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
programs.bash.blesh.enable = mkEnableOption (mdDoc "blesh");
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.bash.interactiveShellInit = mkBefore ''
|
||||||
|
source ${pkgs.blesh}/share/ble.sh
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
meta.maintainers = with maintainers; [ laalsaas ];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user