feat: install and use ed(1)
This commit is contained in:
parent
f1886496cb
commit
9cdd6458db
2 changed files with 11 additions and 2 deletions
|
@ -34,6 +34,10 @@ in {
|
|||
"nocaseglob"
|
||||
];
|
||||
|
||||
bashrcExtra = ''
|
||||
[[ -f ~/.profile ]] && . ~/.profile
|
||||
'';
|
||||
|
||||
initExtra = ''
|
||||
__prompt() {
|
||||
local status="$?"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue