diff --git a/bin/deploy-config-files b/bin/deploy-config-files index 5fa84e22..8e19c4b1 100755 --- a/bin/deploy-config-files +++ b/bin/deploy-config-files @@ -15,6 +15,7 @@ mkdir -p ~/.config # zsh ./bin/ln-idempotently ./config/.zshenv ~/.zshenv ./bin/ln-idempotently ./config/.config/zsh ~/.config/zsh +./bin/ln-idempotently ./config/.config/sheldon ~/.config/sheldon ./bin/ln-idempotently ./config/.config/starship.toml ~/.config/starship.toml # vim diff --git a/config/.config/sheldon/plugins.toml b/config/.config/sheldon/plugins.toml new file mode 100644 index 00000000..1b40a535 --- /dev/null +++ b/config/.config/sheldon/plugins.toml @@ -0,0 +1,19 @@ +shell = "zsh" + +[templates] +defer = "{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks?.post | nl }}" + +[plugins.zsh-defer] +github = "romkatv/zsh-defer" + +[plugins.zsh-completions] +github = "zsh-users/zsh-completions" +apply = ["defer"] + +[plugins.zsh-autosuggestions] +github = "zsh-users/zsh-autosuggestions" +apply = ["defer"] + +[plugins.zsh-syntax-highlighting] +github = "zsh-users/zsh-syntax-highlighting" +apply = ["defer"] diff --git a/config/.config/zsh/.zshrc b/config/.config/zsh/.zshrc index e749bb89..cce689f6 100644 --- a/config/.config/zsh/.zshrc +++ b/config/.config/zsh/.zshrc @@ -1,6 +1,8 @@ source $HOME/.config/zsh/legacy/exports.zsh source $HOME/.config/zsh/legacy/aliases.zsh +eval "$(sheldon source)" + bindkey -e # emacs emulation autoload -Uz add-zsh-hook