This commit is contained in:
Kovid Goyal 2022-04-13 22:45:36 +05:30
parent 236dbd95c9
commit 3ddea42660
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 3 additions and 3 deletions

View File

@ -278,7 +278,7 @@ clone-in-kitty() {
case "$1" in
"") 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"
builtin printf "%s\n\n%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)";;

View File

@ -115,7 +115,7 @@ function clone-in-kitty -d "Clone the current fish session into a new kitty wind
set --function data "pid=$fish_pid,cwd=$data,env=$env"
for a in $argv
if builtin test "$a" = -h -o "$a" = --help
builtin printf "%s\n" "Clone the current fish session into a new kitty window. For usage instructions see: https://sw.kovidgoyal.net/kitty/shell-integration/#clone-shell"
builtin printf "%s\n\n%s\n" "Clone the current fish session into a new kitty window." "For usage instructions see: https://sw.kovidgoyal.net/kitty/shell-integration/#clone-shell"
return
end
set --local ea (builtin printf "%s" "$a" | command base64)

View File

@ -361,7 +361,7 @@ clone-in-kitty() {
case "$1" in
"") 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"
builtin printf "%s\n\n%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)";;