Make 'ee' a script; add back 'l' alias

This commit is contained in:
Sridhar Ratnakumar 2023-04-17 08:36:08 -04:00
parent c272e727f7
commit e7600546d6
2 changed files with 12 additions and 5 deletions

View file

@ -111,4 +111,14 @@
'';
};
home.packages = [
(pkgs.writeShellApplication {
name = "ee";
text = ''
set -x
exec nvim "$(fzf)"
'';
})
];
}

View file

@ -1,13 +1,10 @@
{ lib, ... }:
{ pkgs, lib, ... }:
let
shellAliases = {
e = "nvim";
ee = ''
nvim (fzf)
'';
g = "git";
lg = "lazygit";
# TODO: Add 'l' alias, after https://www.nushell.sh/blog/2023-04-04-nushell_0_78.html#aliases-now-can-shadow
l = lib.getExe pkgs.exa;
};
in
{