mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-27 03:33:26 +03:00
Remove fish_right_prompt file
This commit is contained in:
parent
d1d647c352
commit
a8824ebb21
@ -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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
function fish_right_prompt
|
|
||||||
string unescape $_tide_prompt_data[1]
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user