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 {