Commit Graph

70 Commits

Author SHA1 Message Date
Ilan Cosman
8dcdc64296 Use fish_prompt event, reorganize 2021-03-14 13:59:32 -07:00
Ilan Cosman
1129394f79 Kill old process in main fish instance 2021-03-14 09:48:17 -07:00
Ilan Cosman
b3a7db5b53 Update for Fish v3.2 2021-03-02 09:52:58 -08:00
Ilan Cosman
05af630a82 Run new fish_indent on code 2021-03-02 09:46:40 -08:00
Ilan Cosman
fe924616e1 Refactor fish_prompt.fish 2021-02-28 16:47:07 -08:00
Christian Volkmann
953203adcf
Load fish_prompt only if session is interactive (#107)
* fix(fish_prompt): Only refresh when session is interactive

* fix: Define empty refresh prompt when non-interactive

* fix: Define empty fish_prompt when non-interactive

* style: Indent

* refactor(fish_prompt): Wrap whole file in if statement

* style: New line
2021-02-26 06:47:24 -08:00
Ilan Cosman
2b516dc02b Use builtin disown 2021-02-26 03:37:07 -08:00
Ilan Cosman
baee8f539e Set fish_term24bit in background job, don't export it 2021-02-02 19:51:52 -08:00
Ilan Cosman
894a4a4998 Don't rerun background function while repainting 2021-02-02 08:12:01 -08:00
Ilan Cosman
830dc6290d Bring back fish_term24bit, fix color bug 2021-01-28 21:09:28 -08:00
Ilan Cosman
1bcd41d026 Remove _tide_true_color in favor of full configs for each style 2021-01-26 16:04:20 -08:00
Ilan Cosman
ca11b789ef Add tide_true_color 2021-01-22 20:44:57 -08:00
Ilan Cosman
3a85689517 Remove _tide_git_prompt_set_vars 2021-01-17 11:23:58 -08:00
Ilan Cosman
4129099cd2 Ensure prompt variables are erased after uninstall (fixes #69) 2021-01-05 18:07:56 -08:00
Ilan Cosman
aa40c45862 Update async gif 2021-01-04 15:16:47 -08:00
Ilan Cosman
46035b236c Close stdout in background process 2021-01-03 16:09:08 -08:00
Ilan Cosman
f0ca701538 Replace _tide_last_status with _tide_last_pipestatus[-1] 2020-12-25 16:54:24 -08:00
Ilan Cosman
a773f703cf Also refresh prompt on right prompt var change (fixes #59) 2020-12-23 14:15:36 -08:00
Ilan Cosman
b4aa00ac43 Remove _tide_on_fish_cancel 2020-12-23 11:04:39 -08:00
Ilan Cosman
c577cbee9d Change repaint to force-repaint, fixes vi mode 2020-12-17 15:31:52 -08:00
Ilan Cosman
6ab2fc103c Accurately redraw the prompt when the line is cancelled (fixes #53) 2020-12-13 09:32:20 -08:00
Ilan Cosman
f541c22ed8 Minor performance improvement 2020-12-07 15:15:29 -08:00
Ilan Cosman
1f51788879 Set fish_term24bit, fixes git color issues 2020-11-27 08:12:14 -08:00
Ilan Cosman
282b947d13 SSH_TTY is automatically exported 2020-11-26 13:29:30 -08:00
Ilan Cosman
895d617409 Fix vi-related items 2020-11-25 11:57:45 -08:00
Ilan Cosman
7b25cc7b4c Fix jobs item 2020-11-25 11:54:17 -08:00
Ilan Cosman
7747a257a3 Fix bugs/performance improvements 2020-11-25 09:41:40 -08:00
Ilan Cosman
f6262a2e28 Set variables in background job 2020-11-25 09:22:35 -08:00
Ilan Cosman
85712feeaa Disown async job 2020-11-24 22:24:49 -08:00
Ilan Cosman
dc18cfced2 Kill old async processes 2020-11-24 22:13:05 -08:00
Ilan Cosman
f49f6dff4b Minor edits 2020-11-24 20:54:49 -08:00
Ilan Cosman
09784a9a02 Prevent seperate fish instances from interfering with each other 2020-11-24 19:30:59 -08:00
Ilan Cosman
c98fc8646c Fix various issues 2020-11-24 14:21:22 -08:00
Ilan Cosman
41644062c4 Use status is-interactive instead of own variable 2020-11-24 12:43:48 -08:00
Ilan Cosman
5bd71efa45 More work on async 2020-11-23 14:56:52 -08:00
Ilan Cosman
829f886a47 Start work on async 2020-11-20 14:04:04 -08:00
Jorge Bucaran
92a345916b
Move fish_right_prompt to fish_right_prompt.fish (#45)
* Remove fish_right_prompt from wrong file

* Create fish_right_prompt.fish
2020-11-11 08:46:28 -08:00
Ilan Cosman
ec319f1739 Merge scuba branch 2020-10-26 16:51:07 -07:00
Ilan Cosman
9fc1b32f1a Add uninstall event handler 2020-10-15 15:15:17 -07:00
IlanCosman
a89fa71045 tide configure now also resets fish_prompt to default 2020-05-24 15:59:37 -07:00
Ilan Cosman
78110a8cfb Rename functions 2020-05-20 10:05:33 -07:00
Ilan Cosman
1b2fcb7f42 Rename to tide 2020-05-18 20:03:25 -07:00
Ilan Cosman
a35fc7311c Specify printfs 2020-05-18 10:06:02 -07:00
Ilan Cosman
6fba067de2 Start converting echo to printf 2020-05-17 13:47:53 -07:00
Ilan Cosman
1c286fc473 Fixed git_prompt bug, thank god 2020-05-16 21:43:27 -07:00
Ilan Cosman
53ed6c2883 Fix install 2020-05-15 16:06:01 -07:00
Ilan Cosman
ab1d200513 Multi-line right prompt 2020-05-14 21:53:37 -07:00
Ilan Cosman
9b3ec5eabe Generalize prompt items, add left_prompt 2020-05-13 12:46:42 -07:00
Ilan Cosman
41ee1233bf Switch to lean_decolor 2020-05-08 15:32:58 -07:00
Ilan Cosman
c85881961b Convert to meta/sub commands 2020-05-03 21:41:08 -07:00