feat: install and use ed(1)

This commit is contained in:
buffet 2024-01-29 14:30:45 +01:00
parent f1886496cb
commit 9cdd6458db
2 changed files with 11 additions and 2 deletions

View file

@ -34,6 +34,10 @@ in {
"nocaseglob"
];
bashrcExtra = ''
[[ -f ~/.profile ]] && . ~/.profile
'';
initExtra = ''
__prompt() {
local status="$?"

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
imports = [
./bash.nix
./cargo.nix
@ -32,7 +36,7 @@
stateVersion = "23.11";
sessionVariables = {
EDITOR = "nvim";
EDITOR = lib.mkForce "${pkgs.oed}/bin/ed";
};
packages = with pkgs; [
@ -67,6 +71,7 @@
man-pages
man-pages-posix
mosh
oed
okular
pavucontrol
radare2