feat(home:fish): add gitroot alias
This commit is contained in:
parent
de7d57a87e
commit
0442fdc4ee
2 changed files with 1 additions and 17 deletions
|
|
@ -16,6 +16,7 @@ in
|
|||
ls = "${getExe eza} -a --icons --group-directories-first";
|
||||
lst = "${getExe eza} -T -L 5 --icons --group-directories-first";
|
||||
du = "${getExe dust}";
|
||||
gitroot = "cd (git rev-parse --show-toplevel)";
|
||||
};
|
||||
shellAbbrs = {
|
||||
f = "cd $FLAKE";
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{ lib, config, osConfig, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.shell.fish;
|
||||
admin = osConfig.ooknet.host.admin;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (cfg.enable || admin.shell == "fish") {
|
||||
programs.fish.functions = {
|
||||
man = ''
|
||||
:q
|
||||
''
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue