# `sheldon` configuration file
# ----------------------------
#
# You can modify this file directly or you can use one of the following
# `sheldon` commands which are provided to assist in editing the config file:
#
# - `sheldon add` to add a new plugin to the config file
# - `sheldon edit` to open up the config file in the default editor
# - `sheldon remove` to remove a plugin from the config file
#
# See the documentation for more https://github.com/rossmacarthur/sheldon#readme

shell = "zsh"

[templates]
defer = "{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}"
defer-more = "{% for file in files %}zsh-defer -t 10 source \"{{ file }}\"\n{% endfor %}"
defer-medium = "{% for file in files %}zsh-defer -t 5 source \"{{ file }}\"\n{% endfor %}"

[plugins]

[plugins.zsh-defer]
github = "romkatv/zsh-defer"

[plugins.evalcache]
github = 'mroth/evalcache'


[plugins.fast-syntax-highlighting]
github = 'zdharma-continuum/fast-syntax-highlighting'
apply = ["defer-medium"]

[plugins.zsh-autosuggestions]
github = 'zsh-users/zsh-autosuggestions'
apply = ["defer"]

[plugins.bash-completions-fallback]
github = '3v1n0/zsh-bash-completions-fallback'
apply = ["defer-more"]

[plugins.fzf-tab]
github = 'Aloxaf/fzf-tab'
apply = ["defer"]

[plugins.zsh-cargo-completion]
github = 'MenkeTechnologies/zsh-cargo-completion'
apply = ["defer"]

[plugins.click-completion]
github = 'click-contrib/click-completion'
apply = ["defer"]

#[plugins.zsh-direnv]
#github = 'ptavares/zsh-direnv'
#apply = ["defer"]

[plugins.undollar]
github = 'zpm-zsh/undollar'
apply = ["defer"]

[plugins.fzf]
remote = 'https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/fzf/fzf.plugin.zsh'
apply = ["defer"]

[plugins.extract]
remote = 'https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/extract/extract.plugin.zsh'
apply = ["defer"]

[plugins.zsh-interactive-cd]
remote = 'https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/zsh-interactive-cd/zsh-interactive-cd.plugin.zsh'
apply = ["defer"]

#[plugins.aliases]
#remote = 'https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/aliases'

[plugins.zsh-vim-plugin]
github = 'nviennot/zsh-vim-plugin'
apply = ["defer"]

[plugins.docker-zsh-completion]
github = 'greymd/docker-zsh-completion'
apply = ["defer"]

[plugins.zsh-nohup]

#Needs to be last plugin in list, lets you nohup a running process with ctrl+h
github = 'micrenda/zsh-nohup'
apply = ["defer"]
# For example:
#
# [plugins.base16]
# github = "chriskempson/base16-shell"
