mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Workaround for fish splitting on newlines when doing command substitution
This commit is contained in:
@@ -60,7 +60,7 @@ function _ksi_main
|
||||
|
||||
function _ksi_end_prompt
|
||||
set --local cmd_status "$status"
|
||||
set --local op (_ksi_original_fish_prompt) # trim trailing newlines to mimic fish behavior
|
||||
set --local op (_ksi_original_fish_prompt | string collect) # trim trailing newlines to mimic fish behavior
|
||||
printf "%s" "$op"
|
||||
set --global _ksi_prompt_state "prompt_end"
|
||||
_ksi_mark "B"
|
||||
|
||||
Reference in New Issue
Block a user