dotfiles/.config/sheldon/plugins.toml

62 lines
3.0 KiB
INI

# `sheldon` configuration file
# ----------------------------
# See the documentation for more https://github.com/rossmacarthur/sheldon#readme
shell = "zsh"
[plugins]
[plugins.todo]
inline = 'todo() {(test -f ~/TODO.md && glow ~/TODO.md) || echo no ~/TODO.md}'
[plugins.my-ip]
# ask dnscrypt.dotya.ml
inline = 'my-ip() {doggo my.ip @sdns://AQcAAAAAAAAAETE0NC45MS43MC42Mjo1NDQzIHF-JiN46cNwFXJleEVWGWgrhe2QeysUtZoo9HwzYCMzITIuZG5zY3J5cHQtY2VydC5kbnNjcnlwdC5kb3R5YS5tbA}'
[plugins.my-ip6]
# ask dnscrypt.dotya.ml via ipv6
inline = 'my-ip6() {doggo my.ip @sdns://AQcAAAAAAAAAHFsyYTAyOmMyMDc6MjAzMDozOTY6OjFdOjU0NDMgcX4mI3jpw3AVcmV4RVYZaCuF7ZB7KxS1mij0fDNgIzMhMi5kbnNjcnlwdC1jZXJ0LmRuc2NyeXB0LmRvdHlhLm1s}'
[plugins.nugit]
inline = 'nugit() {cd ~/utils/git || exit 1; git pull --all --prune; make configure && ./configure --prefix=$HOME/.local && make install}'
[plugins.nuvim]
inline = 'nuvim() {cd ~/utils/vim/src || exit 1; git pull --all --prune && make clean && ./configure --enable-multibyte --enable-luainterp --with-luajit --enable-python3interp --enable-rubyinterp --enable-autoservername --enable-terminal --disable-gui --enable-cscope --with-features=huge --without-x --disable-xsmp --disable-netbeans --with-compiledby=surtur --with-modified-by=surtur --with-local-dir=$HOME/.local --prefix=$HOME/.local && make install_normal && ~/.local/bin/vim}'
[plugins.nukanshi]
inline = 'nukanshi() {cd ~/utils/sr.ht/kanshi || exit 1; git pull --all --prune; meson build --reconfigure && ninja -C build install}'
[plugins.nuaerc]
inline = 'nuaerc() {cd ~/utils/sr.ht/\~rjarry/aerc || exit 1; git pull --all --prune; CGO_LDFLAGS="${LDFLAGS}"; CGO_CFLAGS="${CFLAGS}" CGO_CPPFLAGS="${CPPFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" GOFLAGS="-buildmode=pie -trimpath -modcacherw -tags=notmuch" sudo make clean install}'
[plugins.nuwlsunset]
inline = 'nuwlsunset() {cd ~/utils/sr.ht/wlsunset || exit 1; git pull --all; mkdir -pv build; meson build -Dprefix=~/.local --reconfigure && ninja -C build && ninja -C build install}'
[plugins.nuswaylock-effects]
inline = 'nuswaylock-effects() {cd ~/utils/swaylock-effects || exit 1; git pull --all --prune && meson -Dprefix=/usr/local --reconfigure build && ninja -C build && sudo ninja -C build install}'
[plugins.nuhashcat]
inline = 'nuhashcat() {cd ~/utils/hashcat || exit 1; git pull --all --prune; make clean && sudo make install}'
[plugins.zsh-autosuggestions]
github = 'zsh-users/zsh-autosuggestions'
[plugins.zsh-history-substring-search]
github = 'zsh-users/zsh-history-substring-search'
[plugins.alias-tips]
github = 'djui/alias-tips'
use = ['alias-tips.plugin.zsh']
[plugins.alias-finder]
local = '~/.oh-my-zsh/plugins/alias-finder'
use = ['alias-finder.plugin.zsh']
[plugins.fast-syntax-highlighting]
github = 'zdharma-continuum/fast-syntax-highlighting'
[plugins.zsh-nix-shell]
github = 'chisui/zsh-nix-shell'
tag = "v0.5.0"
use = ['nix-shell.plugin.zsh']
[plugins.nix-zsh-completions]
github = 'spwhitt/nix-zsh-completions'
[plugins.zsh-vi-mode]
github = 'jeffreytse/zsh-vi-mode'