From 5b12b5899af2f8ff7933a6ad6f8be9363a0e992b Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Sat, 14 Aug 2021 15:21:52 +0200 Subject: Speed up startup --- .zshrc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index badf71c..afa4948 100644 --- a/.zshrc +++ b/.zshrc @@ -1,16 +1,17 @@ -source /usr/share/zsh-antigen/antigen.zsh -antigen init ~/.zsh_antigen +# zmodload zsh/zprof + +source ~/.zsh_zinit source /usr/share/autojump/autojump.sh autoload -Uz vcs_info +autoload -Uz edit-command-line -source ~/.zsh_comprc source ~/.zsh_taskwarrior source ~/.zsh_functions source ~/.zsh_functions_media -source ~/.zsh_functions_taskwarrior +#source ~/.zsh_functions_taskwarrior source ~/.zsh_aliases source ~/.zsh_local @@ -20,7 +21,7 @@ source ~/.env_* #zle -N zle-line-init #zle -N zle-keymap-select -#zle -N edit-command-line +zle -N edit-command-line export HISTFILE=~/.zsh_history export HISTSIZE=1000000000 @@ -84,8 +85,14 @@ export YSU_MODE=ALL export tzvt_set_tmux_window_status=true export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin -#bindkey -v + +bindkey -M vicmd '^X^E' edit-command-line +bindkey -M viins '^X^E' edit-command-line + #task awaiting +source ~/.zsh_comprc + cat ~/.motd +# zprof -- cgit v1.2.3