Workaround for fish splitting on newlines when doing command substitution
This commit is contained in:
parent
a073936997
commit
0a56ab7a1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue