diff --git a/home/modules/console/shell/fish/aliases.nix b/home/modules/console/shell/fish/aliases.nix index 316952e..c658563 100644 --- a/home/modules/console/shell/fish/aliases.nix +++ b/home/modules/console/shell/fish/aliases.nix @@ -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"; diff --git a/home/modules/console/shell/fish/functions.nix b/home/modules/console/shell/fish/functions.nix deleted file mode 100644 index 3472dcc..0000000 --- a/home/modules/console/shell/fish/functions.nix +++ /dev/null @@ -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 - '' - }; - }; -}