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