[zsh] 清除 nix darwin 上多次重复的 compinit, 提升 zsh 启动速度
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.enableCompletion = false;
|
||||
home.shell.enableZshIntegration = true;
|
||||
|
||||
home.file =
|
||||
|
||||
@@ -1644,7 +1644,7 @@ bind2maps emacs viins vicmd -- -s '\e'${key[Left]} backward-word
|
||||
|
||||
zrcautoload zmv
|
||||
# zrcautoload zed # o4: 禁用 zed, 和 zed editor 的 cli binary name 撞车了
|
||||
unset -f zed
|
||||
# unset -f zed
|
||||
|
||||
# we don't want to quote/espace URLs on our own...
|
||||
# if autoload -U url-quote-magic ; then
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
time.timeZone = "Asia/Shanghai";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.enableGlobalCompInit = false;
|
||||
|
||||
users.users.origami = {
|
||||
home = "/Users/origami";
|
||||
|
||||
Reference in New Issue
Block a user