Skip to content

Instantly share code, notes, and snippets.

@jbenner-radham
Last active August 2, 2025 03:45
Show Gist options
  • Save jbenner-radham/48c86f7f666135aee31b71534a4a5d56 to your computer and use it in GitHub Desktop.
Save jbenner-radham/48c86f7f666135aee31b71534a4a5d56 to your computer and use it in GitHub Desktop.
Sheldon config file.
# `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 }}'''
[plugins]
[plugins.zsh-defer]
github = "romkatv/zsh-defer"
[plugins.auto-venv]
github = "Skylor-Tang/auto-venv"
[plugins.zsh-autopair]
github = "hlissner/zsh-autopair"
use = ["autopair.zsh"]
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
use = ["{{ name }}.zsh"]
[plugins.zsh-you-should-use]
github = "MichaelAquilina/zsh-you-should-use"
[plugins.ohmyzsh]
github = "ohmyzsh/ohmyzsh"
dir = "lib"
use = ["clipboard.zsh", "functions.zsh"]
[plugins.ohmyzsh.hooks]
post = """
unfunction uninstall_oh_my_zsh
unfunction upgrade_oh_my_zsh"""
# This needs to be loaded as close to the end as possible but before
# zsh-history-substring-search.
[plugins.zsh-syntax-highlighting]
github = "zsh-users/zsh-syntax-highlighting"
apply = ["defer"]
# This needs to be loaded after zsh-syntax-highlighting.
[plugins.zsh-history-substring-search]
github = "zsh-users/zsh-history-substring-search"
use = ["{{ name }}.zsh"]
apply = ["defer"]
[plugins.zsh-history-substring-search.hooks]
post = '''
bindkey "${terminfo[kcuu1]}" history-substring-search-up
bindkey "${terminfo[kcud1]}" history-substring-search-down'''
# For example:
#
# [plugins.base16]
# github = "chriskempson/base16-shell"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment