Skip to content

Instantly share code, notes, and snippets.

@tonycoco
Last active October 17, 2025 00:07
Show Gist options
  • Select an option

  • Save tonycoco/deb6a4277c92621906dc8cd866d31a19 to your computer and use it in GitHub Desktop.

Select an option

Save tonycoco/deb6a4277c92621906dc8cd866d31a19 to your computer and use it in GitHub Desktop.
Sheldon Config (~/.config/sheldon/plugins.toml)
# `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 = "{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks?.post | nl }}"
defer-more = """{{ hooks?.pre | nl }}{% for file in files %}zsh-defer -t 0.5 source "{{ file }}"\n{% endfor %}{{ hooks?.post | nl }}"""
fpath = 'fpath=( "{{ dir }}" $fpath )'
path = 'path=( "{{ dir }}" $path )'
[plugins]
[plugins.zsh-defer]
github = "romkatv/zsh-defer"
[plugins.oh-my-zsh-plugins]
github = "ohmyzsh/ohmyzsh"
dir = "plugins"
use = [
"dirhistory/dirhistory.plugin.zsh",
"eza/eza.plugin.zsh",
"fzf/fzf.plugin.zsh",
"gcloud/gcloud.plugin.zsh",
"macos/macos.plugin.zsh",
"mise/mise.plugin.zsh",
"starship/starship.plugin.zsh",
]
[plugins.zsh-completions]
github = "zsh-users/zsh-completions"
use = ["{{ name }}.plugin.zsh"]
[plugins.fzf]
github = "junegunn/fzf"
use = ["{completion,key-bindings}.zsh"]
[plugins.zoxide]
github = "ajeetdsouza/zoxide"
[plugins.select-word-style]
inline = "autoload -Uz select-word-style && select-word-style bash"
[plugins.compinit]
inline = "autoload -Uz compinit && zsh-defer compinit"
[plugins.fzf-tab]
github = "Aloxaf/fzf-tab"
use = ["{{ name }}.plugin.zsh"]
apply = ["defer"]
[plugins.fast-syntax-highlighting]
github = "zdharma-continuum/fast-syntax-highlighting"
use = ["{{ name }}.plugin.zsh"]
apply = ["defer"]
[plugins.zsh-uv-env]
github = "matthiasha/zsh-uv-env"
apply = ["defer"]
[plugins.zsh-history-substring-search]
github = "zsh-users/zsh-history-substring-search"
use = ["{{ name }}.zsh"]
apply = ["defer-more"]
hooks.post = "bindkey '^[[A' history-substring-search-up; bindkey '^[[B' history-substring-search-down"
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
use = ["{{ name }}.zsh"]
apply = ["defer-more"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment