mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
Fix right prompt being mangled by icons in config menu
This commit is contained in:
parent
21b8b33243
commit
fd6c1b0b90
@ -1,6 +1,11 @@
|
|||||||
function _fake_tide_pwd
|
function _fake_tide_pwd
|
||||||
set -g _tide_pwd_len 5
|
set -l out (
|
||||||
set_color $fake_tide_pwd_color_dirs
|
set_color $fake_tide_pwd_color_dirs
|
||||||
echo -ns $fake_tide_pwd_icon' ' '~/' \
|
echo -ns $fake_tide_pwd_icon' ' '~/'
|
||||||
(set_color -o $fake_tide_pwd_color_anchors)'src'(set_color normal -b $fake_tide_pwd_bg_color)
|
set_color -o $fake_tide_pwd_color_anchors
|
||||||
|
echo -ns src
|
||||||
|
set_color normal -b $fake_tide_pwd_bg_color
|
||||||
|
)
|
||||||
|
set -g _tide_pwd_len (string length --visible $out)
|
||||||
|
echo -ns $out
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user