mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.packages.zsh: remove empty .zlogin
This commit is contained in:
@@ -28,8 +28,6 @@ inputs:
|
||||
plugins = [ "git" "colored-man-pages" "extract" "history-substring-search" "autojump" ];
|
||||
theme = inputs.lib.mkDefault "clean";
|
||||
};
|
||||
# ensure ~/.zlogin exists
|
||||
loginExtra = " ";
|
||||
};
|
||||
home.shell.enableZshIntegration = true;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ inputs:
|
||||
config = inputs.lib.mkMerge
|
||||
[
|
||||
# 将一部分由 home-manager 生成软链接的文件改为直接挂载,以兼容集群的设置
|
||||
(let files = [ ".zshrc" ".zshenv" ".profile" ".bashrc" ".bash_profile" ".zlogin" ]; in
|
||||
(let files = [ ".zshrc" ".zshenv" ".profile" ".bashrc" ".bash_profile" ]; in
|
||||
{
|
||||
home-manager.users = builtins.listToAttrs (builtins.map
|
||||
(user:
|
||||
|
||||
Reference in New Issue
Block a user