X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.zshrc;h=b182e0ad76f8e4cf75c65319ec726434740d645d;hb=1a2ed8a53739690f42a3eb939bd7feaab87e506e;hp=91da4450d801239262e0858b0c69a060f43b8e6a;hpb=a80da1b404675281fc1bfd89d49acdc8d28cf167;p=user%2Fhenk%2Fvcsh%2Fzsh.git diff --git a/.zshrc b/.zshrc index 91da445..b182e0a 100644 --- a/.zshrc +++ b/.zshrc @@ -11,6 +11,7 @@ export HISTSIZE=1000000000 export SAVEHIST=1000000000 export ANSIBLE_NOCOWS=1 +export ANSIBLE_STRATEGY=mitogen_linear # what is that for exactly? maybe taskwarrior? or timewarrior? REPORTTIME=10 @@ -38,7 +39,7 @@ fpath=(~/.zsh_functions $fpath) # so they can stay at the top hash -d diary=~/Data/henksfiles/workinprogress/Dokumente/diary hash -d lifedocs=~/Data/henksfiles/workinprogress/Dokumente/Leben -hash -d bewerbung=~/Data/henksfiles/workinprogress/Dokumente/bewerbung +hash -d bewerbung=~/Data/personal/henk/workinprogress/Dokumente/Arbeit/bewerbung hash -d rezepte=~/Data/henksfiles/workinprogress/Dokumente/rezepte/cuisine hash -d templates=~/Data/henksfiles/workinprogress/templates hash -d gitignore=~/Data/public/software/gitignore @@ -53,6 +54,18 @@ source ~/.zsh_aliases source ~/.zsh_qemu +# load plugin manager after all 'static' stuff is done +source ~/Data/public/software/zinit/zinit.zsh + + +# mostly static stuff, env vars +zinit load 'https://github.com/joel-porquet/zsh-dircolors-solarized' +zinit load "https://github.com/greymd/tmux-xpanes" + + +# load sane options plugin before setting my own options +zinit load 'https://github.com/willghatch/zsh-saneopt' + # options are usually independent and standalone # so they can stay at the top setopt AUTO_CD @@ -92,14 +105,13 @@ setopt NO_BG_NICE #setopt LONG_LIST_JOBS +# load before completion system initialization +zinit load 'https://github.com/zsh-users/zsh-completions' + # initialize completion system before loading plugins and external configs source ~/.zsh_comprc -# TODO break this up -source ~/.zsh_zinit - - # TODO reconsider this # source /usr/share/autojump/autojump.sh @@ -124,6 +136,13 @@ bindkey -M vicmd '^X^E' edit-command-line bindkey -M viins '^X^E' edit-command-line +#this mainly sets vars, binds keys, does zle stuff +zinit load 'https://github.com/laurenkt/zsh-vimto' + +# functions and an autoload, should be fine here +zinit load 'https://github.com/MichaelAquilina/zsh-you-should-use' + + # source ~/.zsh_taskwarrior # source ~/.zsh_functions # source ~/.zsh_functions_media @@ -147,6 +166,15 @@ typeset -U path # so they go more to the bottom +# should probably be closer to the bottom than the top? +zinit load 'https://github.com/nojhan/liquidprompt' + + +# needs to be loaded close to the end because it hooks into other stuff +# see https://github.com/zsh-users/zsh-syntax-highlighting +zinit load 'https://github.com/zsh-users/zsh-syntax-highlighting' + + # commands to run after initialization is complete #task awaiting cat ~/.motd