From 2de74da98bfdc8e340f1582503c4207484dba2b3 Mon Sep 17 00:00:00 2001 From: Oshgnacknak Date: Sun, 7 Sep 2025 00:17:28 +0200 Subject: [PATCH] flake --- flake.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 56139d9..9675793 100644 --- a/flake.nix +++ b/flake.nix @@ -48,16 +48,13 @@ syntaxHighlighting.enable = true; initExtra = '' + autoload -Uz manydots-magic + manydots-magic + source ${pkgs.fzf}/share/fzf/key-bindings.zsh source ${pkgs.fzf}/share/fzf/completion.zsh - [ -f "$HOME/.zshrc" ] && emulate sh -c "source $HOME/.zshrc" - ''; - - environment.interactiveShellInit = '' - fpath+=("${pkgs.zsh}/share/zsh/${ZSH_VERSION}/functions" "${pkgs.zsh}/share/zsh/functions") - autoload -Uz manydots-magic - manydots-magic + [ -f "$HOME/.config/zshrc" ] && emulate sh -c "source $HOME/.config/zshrc" ''; zplug = { @@ -85,7 +82,7 @@ # Link dotfiles without forcing overwrite (fails safely if a file already exists) home.file.".tmux.conf".source = ./_tmux.conf; - home.file.".zshrc".source = ./_zshrc; + home.file.".config/zshrc".source = ./_zshrc; home.file.".bashrc".source = ./_bashrc; home.file.".local/share/nvim/site/autoload/plug.vim".source = pkgs.fetchurl {