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" "nocaseglob"
]; ];
bashrcExtra = ''
[[ -f ~/.profile ]] && . ~/.profile
'';
initExtra = '' initExtra = ''
__prompt() { __prompt() {
local status="$?" local status="$?"

View file

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