...
This commit is contained in:
parent
236dbd95c9
commit
3ddea42660
@ -278,7 +278,7 @@ clone-in-kitty() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
"") break;;
|
"") break;;
|
||||||
-h|--help)
|
-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
|
return
|
||||||
;;
|
;;
|
||||||
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
|
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
|
||||||
|
|||||||
@ -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"
|
set --function data "pid=$fish_pid,cwd=$data,env=$env"
|
||||||
for a in $argv
|
for a in $argv
|
||||||
if builtin test "$a" = -h -o "$a" = --help
|
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
|
return
|
||||||
end
|
end
|
||||||
set --local ea (builtin printf "%s" "$a" | command base64)
|
set --local ea (builtin printf "%s" "$a" | command base64)
|
||||||
|
|||||||
@ -361,7 +361,7 @@ clone-in-kitty() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
"") break;;
|
"") break;;
|
||||||
-h|--help)
|
-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
|
return
|
||||||
;;
|
;;
|
||||||
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
|
*) data="$data,a=$(builtin printf "%s" "$1" | builtin command base64)";;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user