From d5b8363d3d56f99fecbf657542a512e58951547d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 20 Jun 2022 11:41:27 -0700 Subject: ref(home/shell): move all shell aliases to a shared configuration By moving the aliases to a shared module, they can be used between zsh and fish. Change-Id: Ifcfe0af3b90825fe3a67bc1796d4cf65a58d3ff2 Reviewed-on: https://cl.fcuny.net/c/world/+/456 Reviewed-by: Franck Cuny Tested-by: CI --- home/shell/fish/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'home/shell/fish/default.nix') diff --git a/home/shell/fish/default.nix b/home/shell/fish/default.nix index 3a21b24..c81f188 100644 --- a/home/shell/fish/default.nix +++ b/home/shell/fish/default.nix @@ -2,11 +2,13 @@ let cfg = config.my.home.shell; swayEnabled = config.my.home.wm.windowManager == "sway"; + aliases = config.my.home.shell.aliases; in { config = lib.mkIf (cfg.name == "fish") { programs.fish = { enable = true; + shellAliases = aliases; interactiveShellInit = '' set fish_greeting -- cgit 1.4.1