zsh cloning: save history so that it is up-to-date in cloned shell
This commit is contained in:
parent
8808a252ae
commit
6bbaf5f1cf
@ -418,5 +418,7 @@ clone-in-kitty() {
|
||||
builtin print -nu "$_ksi_fd" -f '\eP@kitty-clone|%s:%s\e\\' "${chunk_num}" "${chunk}"
|
||||
chunk_num=$(($chunk_num+1))
|
||||
done
|
||||
# save history so it is available in new shell
|
||||
builtin fc -AI
|
||||
builtin print -nu "$_ksi_fd" '\eP@kitty-clone|\e\\'
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user