diff --git a/flake.nix b/flake.nix index 2ab7de0..56139d9 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,12 @@ [ -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 + ''; + zplug = { enable = true; plugins = [ @@ -77,8 +83,7 @@ thefuck ]; - # Example: link dotfiles without forcing overwrite - # (fails safely if a file already exists) + # 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.".bashrc".source = ./_bashrc;