mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
Always add space after prompt
This commit is contained in:
parent
a72a76574a
commit
4a00b7fe79
@ -6,17 +6,17 @@ function _tide_item_prompt_char
|
||||
end
|
||||
|
||||
if test "$fish_key_bindings" = fish_default_key_bindings
|
||||
printf '%s' $tide_prompt_char_icon' '
|
||||
printf '%s' $tide_prompt_char_icon
|
||||
else
|
||||
switch $fish_bind_mode
|
||||
case default
|
||||
printf '%s' $tide_prompt_char_vi_default_icon' '
|
||||
printf '%s' $tide_prompt_char_vi_default_icon
|
||||
case insert
|
||||
printf '%s' $tide_prompt_char_vi_insert_icon' '
|
||||
printf '%s' $tide_prompt_char_vi_insert_icon
|
||||
case replace replace_one
|
||||
printf '%s' $tide_prompt_char_vi_replace_icon' '
|
||||
printf '%s' $tide_prompt_char_vi_replace_icon
|
||||
case visual
|
||||
printf '%s' $tide_prompt_char_vi_visual_icon' '
|
||||
printf '%s' $tide_prompt_char_vi_visual_icon
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -31,5 +31,5 @@ function _tide_prompt
|
||||
end
|
||||
|
||||
set -U _tide_right_prompt_display_$_tide_fish_pid $rightPrompt[$leftPromptHeight]
|
||||
printf '%s' $leftPrompt[-1]
|
||||
printf '%s' $leftPrompt[-1]' '
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user