mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-25 01:47:25 +08:00
Compare commits
2 Commits
e0c6cb1470
...
695c7456d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
695c7456d1 | ||
|
|
56afe7b368 |
@ -1,4 +1,4 @@
|
|||||||
# Struoe
|
# Stripe
|
||||||
|
|
||||||
This plugin provides completion for the [Stripe CLI](https://stripe.com/docs/stripe-cli).
|
This plugin provides completion for the [Stripe CLI](https://stripe.com/docs/stripe-cli).
|
||||||
|
|
||||||
|
|||||||
@ -57,6 +57,19 @@ function _build_tmux_alias {
|
|||||||
tmux $2 $3 \"\$@\"
|
tmux $2 $3 \"\$@\"
|
||||||
fi
|
fi
|
||||||
}"
|
}"
|
||||||
|
|
||||||
|
local f s
|
||||||
|
f="_omz_tmux_alias_${1}"
|
||||||
|
s=(${(z)2})
|
||||||
|
|
||||||
|
eval "function ${f}() {
|
||||||
|
shift words;
|
||||||
|
words=(tmux ${@:2} \$words);
|
||||||
|
((CURRENT+=${#s[@]}+1))
|
||||||
|
_tmux
|
||||||
|
}"
|
||||||
|
|
||||||
|
compdef "$f" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias tksv='tmux kill-server'
|
alias tksv='tmux kill-server'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user