Help message for clone-in-kitty

This commit is contained in:
Kovid Goyal 2022-04-13 21:38:33 +05:30
parent e5f70b7306
commit 1dec5f2e08
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 8 additions and 0 deletions

View File

@ -277,6 +277,10 @@ clone-in-kitty() {
while :; do while :; do
case "$1" in case "$1" in
"") break;; "") break;;
-h|--help)
builtin printf "%s\n" "Clone the current bash session into a new kitty window. For usage instructions see: https://sw.kovidgoyal.net/kitty/shell-integration/#clone-shell"
return
;;
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";; *) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
esac esac
shift shift

View File

@ -360,6 +360,10 @@ clone-in-kitty() {
while :; do while :; do
case "$1" in case "$1" in
"") break;; "") break;;
-h|--help)
builtin printf "%s\n" "Clone the current zsh session into a new kitty window. For usage instructions see: https://sw.kovidgoyal.net/kitty/shell-integration/#clone-shell"
return
;;
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";; *) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
esac esac
shift shift