about summary refs log tree commit diff stats
path: root/home-manager/config/zsh
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-04 08:22:46 +0200
committerene <ene@sils.li>2023-04-04 08:22:46 +0200
commit2d52686ebbbc62e9ba592d5d22102f5f5ef59a7d (patch)
tree195246b31ddd74f74ea5de341dae3b90ece7afa3 /home-manager/config/zsh
parentFix(system/fsl): Use swapfile only for hibernate (diff)
downloadnixos-config-2d52686ebbbc62e9ba592d5d22102f5f5ef59a7d.tar.gz
nixos-config-2d52686ebbbc62e9ba592d5d22102f5f5ef59a7d.zip
Feat(hm/conf/zsh): Source shell-library in zsh shell
Diffstat (limited to '')
-rw-r--r--home-manager/config/zsh/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 346d81d2..5f7a7a86 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -2,6 +2,7 @@
   config,
   pkgs,
   lib,
+  shell-library,
   ...
 }: {
   # TODO ADD THIS ADDON
@@ -70,7 +71,8 @@
       builtins.readFile ./config/zsh-init.sh
       + builtins.readFile ./config/zsh-prompt.sh
       + builtins.readFile ./config/custom_cursor.sh
-      + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh";
+      + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh"
+      + "source ${shell-library}/lib";
     shellAliases = {
       ls = "ls -a --color=auto";
       ll = ". ll";