Commit Graph

48 Commits

Author SHA1 Message Date
Ilan Cosman
56a7054487 Minor edits 2021-10-09 18:52:17 -07:00
Ilan Cosman
0376903ca6 Rename variables 2021-10-01 10:52:44 -07:00
Ilan Cosman
785abbf045 Minor edits 2021-09-22 12:28:26 -07:00
Ilan Cosman
d06f92e65f minor edits 2021-09-21 18:16:00 -07:00
Ilan Cosman
416c2d704a Avoid creating functions 2021-09-21 18:16:00 -07:00
Ilan Cosman
ddaaf619d1 minor edits 2021-09-21 18:16:00 -07:00
Ilan Cosman
ed7ae3a18a minor edits 2021-09-21 18:16:00 -07:00
Ilan Cosman
e2f594cde1 Use echo 2021-09-21 18:16:00 -07:00
Ilan Cosman
04b37f45a4 Compact math for greater speed 2021-09-21 18:16:00 -07:00
Ilan Cosman
0a93b0b8fc Use read when faster 2021-09-21 18:16:00 -07:00
Ilan Cosman
b9fda6bf92 Use visible string length (fixes #134) 2021-09-21 18:16:00 -07:00
Ilan Cosman
b9544f5032 Add _tide_last_item_was_newline 2021-09-07 12:55:33 -07:00
Ilan Cosman
780f9703a1 Make character a special item, doesn't use _tide_print_item 2021-09-07 12:51:00 -07:00
Ilan Cosman
9c0ed1e4ce Add variable caching 2021-08-21 21:43:42 -07:00
Ilan Cosman
26485519ba Use one prompt variable instead of two (closes #171) 2021-08-13 04:28:09 -07:00
Ilan Cosman
bd875fb85b Minor edits 2021-08-01 14:28:27 -07:00
Ilan Cosman
01d6fcecca Minor edits 2021-07-03 11:24:29 -07:00
Ilan Cosman
7d66b9ed1a Update for fish 3.3.0 2021-06-28 09:43:25 -07:00
Ilan Cosman
c9748a1856 Add tide_prompt_min_cols 2021-06-27 12:50:37 -07:00
Ilan Cosman
b69b293ca1 Minor edits to _tide_prompt 2021-06-27 12:15:10 -07:00
Ilan Cosman
27c2d7754e Run pwd after other items (closes #131) 2021-05-29 17:11:46 -07:00
Ilan Cosman
230821a99f Rename variables 2021-05-20 08:46:39 -07:00
Ilan Cosman
4b3ce437eb Remove _tide_decolor file 2021-05-19 10:14:21 -07:00
Ilan Cosman
67def5c37b Switch to snake case 2021-05-12 13:13:51 -07:00
Ilan Cosman
9b88923f30 Minor edits 2021-05-08 13:08:36 -07:00
Ilan Cosman
56e80f1423 Minor edits 2021-05-04 20:26:58 -07:00
Ilan Cosman
06dc81c2bf Performance improvement 2021-05-04 15:25:38 -07:00
Ilan Cosman
493e81eee0 Combine left frame, right frame, and connection colors 2021-05-04 15:17:19 -07:00
Ilan Cosman
73c7dc2c25 Minor edits 2021-05-04 11:03:38 -07:00
Ilan Cosman
d11073a20a Move _tide_left_prompt and _tide_right_prompt into _tide_prompt 2021-05-04 09:29:34 -07:00
Ilan Cosman
97ada49838 Add tide_prompt variables 2021-04-24 17:46:58 -07:00
Ilan Cosman
6ce2e4a632 Just use display_var variables, not fish_pid 2021-03-21 21:39:14 -07:00
Ilan Cosman
4a00b7fe79 Always add space after prompt 2021-03-17 11:39:03 -07:00
Ilan Cosman
44290e4360 Fix multi-line prompt when no items on second line 2021-03-17 09:49:05 -07:00
Ilan Cosman
98c895bfeb Run set_color normal in _tide_prompt 2021-03-16 09:50:49 -07:00
Ilan Cosman
acf89909f6 Use string tests instead of numbers, slight speed improvement 2021-03-13 17:19:32 -08:00
Mitch
d2e672165e
Check for negative value when printing prompt connection (#121)
* Check for negative value when printing prompt connection

* minor refactor

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-03-10 19:41:24 +00:00
Ilan Cosman
1425585e33 Refactor printing (fixes #111) 2021-03-04 11:05:49 -08:00
Ilan Cosman
05af630a82 Run new fish_indent on code 2021-03-02 09:46:40 -08:00
Peng Guanwen
fb22b3bec9
Set color to normal at end of prompt (#63)
* Set color to normal at end of prompt char

* move `set_color normal` to _tide_prompt
2020-12-31 20:14:55 -08:00
Ilan Cosman
09b042acc5 Minor edits 2020-12-26 08:42:21 -08:00
Ilan Cosman
f0ca701538 Replace _tide_last_status with _tide_last_pipestatus[-1] 2020-12-25 16:54:24 -08:00
Ilan Cosman
276660bf2b Simplify _tide_right_prompt 2020-11-24 20:41:24 -08:00
Ilan Cosman
0122bdc62b Simplify _tide_left_prompt 2020-11-24 20:20:39 -08:00
Ilan Cosman
c794140008 Clear prompt before printing 2020-11-24 16:39:25 -08:00
Ilan Cosman
5ec4a8bf4c Convert simple if statements to && and || 2020-11-24 14:39:56 -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