mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 16:47:23 +08:00
Make 'ee' a script; add back 'l' alias
This commit is contained in:
parent
c272e727f7
commit
e7600546d6
2 changed files with 12 additions and 5 deletions
|
|
@ -111,4 +111,14 @@
|
|||
'';
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
(pkgs.writeShellApplication {
|
||||
name = "ee";
|
||||
text = ''
|
||||
set -x
|
||||
exec nvim "$(fzf)"
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue