Remove fish_right_prompt file

This commit is contained in:
Ilan Cosman 2021-08-13 04:54:40 -07:00
parent d1d647c352
commit a8824ebb21
2 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@ set -g _tide_prompt_var _tide_prompt_$fish_pid
function _tide_refresh_prompt --on-variable $_tide_prompt_var function _tide_refresh_prompt --on-variable $_tide_prompt_var
set -g _tide_self_repainting # prevents us from creating a second background job set -g _tide_self_repainting # prevents us from creating a second background job
set -g _tide_prompt_data $$_tide_prompt_var # First element in _tide_prompt_data is 'actual' right prompt set -g _tide_prompt_data $$_tide_prompt_var # First element in _tide_prompt_data is right prompt
commandline --function repaint commandline --function repaint
end end
@ -28,6 +28,10 @@ function fish_prompt
string unescape $_tide_prompt_data[2..] string unescape $_tide_prompt_data[2..]
end end
function fish_right_prompt
string unescape $_tide_prompt_data[1]
end
function _tide_on_fish_exit --on-event fish_exit function _tide_on_fish_exit --on-event fish_exit
set -e $_tide_prompt_var set -e $_tide_prompt_var
end end

View File

@ -1,3 +0,0 @@
function fish_right_prompt
string unescape $_tide_prompt_data[1]
end