Load some zsh plugins directly from github
This commit is contained in:
parent
69bc8e0dbf
commit
312fb07560
4 changed files with 2 additions and 29 deletions
|
@ -31,9 +31,6 @@ github = "zsh-users/zsh-completions"
|
|||
[plugins.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
|
||||
# so we do not defer loading
|
||||
[plugins.functions]
|
||||
|
@ -82,11 +79,11 @@ local = "~/.zsh/plugins"
|
|||
apply = ["defer"]
|
||||
|
||||
[plugins.zoxide]
|
||||
local = "~/.zsh/plugins"
|
||||
github = "ajeetdsouza/zoxide"
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.mcfly]
|
||||
local = "~/.zsh/plugins"
|
||||
github = "cantino/mcfly"
|
||||
apply = ["defer"]
|
||||
|
||||
# This works best if it is placed last.
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# McFly
|
||||
if (( ${+commands[mcfly]} )); then
|
||||
eval "$(mcfly init zsh)"
|
||||
fi
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# zoxide - a better `cd` command
|
||||
if (( ${+commands[zoxide]} )); then
|
||||
eval "$(zoxide init zsh)"
|
||||
fi
|
Loading…
Add table
Reference in a new issue