mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-02 02:32:51 +03:00
12 lines
331 B
Fish
12 lines
331 B
Fish
function fish_prompt --description 'Created by tide configure'
|
|
set -lx _tide_last_pipestatus $pipestatus
|
|
set -lx _tide_last_status $status
|
|
|
|
fish --command 'set -U _tide_prompt (_tide_prompt)' &
|
|
|
|
printf '%s\n' $_tide_prompt
|
|
end
|
|
|
|
function _tide_prompt --on-variable _tide_prompt
|
|
commandline --function repaint
|
|
end |