Load some zsh plugins directly from github

This commit is contained in:
Jonny Barnes 2025-02-09 21:35:43 +00:00
parent 69bc8e0dbf
commit 312fb07560
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
4 changed files with 2 additions and 29 deletions

View file

@ -31,9 +31,6 @@ github = "zsh-users/zsh-completions"
[plugins.zsh-defer] [plugins.zsh-defer]
github = "romkatv/zsh-defer" github = "romkatv/zsh-defer"
[plugins.iterm2-shell-integration]
remote = "https://iterm2.com/shell_integration/zsh"
# Some of the functions may get used elsewhere # Some of the functions may get used elsewhere
# so we do not defer loading # so we do not defer loading
[plugins.functions] [plugins.functions]
@ -82,11 +79,11 @@ local = "~/.zsh/plugins"
apply = ["defer"] apply = ["defer"]
[plugins.zoxide] [plugins.zoxide]
local = "~/.zsh/plugins" github = "ajeetdsouza/zoxide"
apply = ["defer"] apply = ["defer"]
[plugins.mcfly] [plugins.mcfly]
local = "~/.zsh/plugins" github = "cantino/mcfly"
apply = ["defer"] apply = ["defer"]
# This works best if it is placed last. # This works best if it is placed last.

View file

@ -1,12 +0,0 @@
#!/usr/bin/env zsh
# cURL completions copied from https://blog.revathskumar.com/2024/02/curl-fuzzy-search-options-using-fzf.html
_fzf_complete_curl() {
_fzf_complete --header-lines=1 --prompt="curl> " -- "$@" < <(
curl -h all
)
}
_fzf_complete_curl_post() {
awk '{print $1}' | cut -d ',' -f -1
}

View file

@ -1,6 +0,0 @@
#!/usr/bin/env zsh
# McFly
if (( ${+commands[mcfly]} )); then
eval "$(mcfly init zsh)"
fi

View file

@ -1,6 +0,0 @@
#!/usr/bin/env zsh
# zoxide - a better `cd` command
if (( ${+commands[zoxide]} )); then
eval "$(zoxide init zsh)"
fi