Commit Graph

28 Commits

Author SHA1 Message Date
Ilan Cosman
9c0ed1e4ce Add variable caching 2021-08-21 21:43:42 -07:00
Ilan Cosman
7ebdc5c490 Minor git performance improvement 2021-07-06 14:09:17 -07:00
Ilan Cosman
aefd66c45a Add changing background color to git item (closes #163) 2021-06-27 10:47:11 -07:00
Ilan Cosman
040a94980e Minor edits 2021-06-13 16:44:11 -07:00
Ilan Cosman
230821a99f Rename variables 2021-05-20 08:46:39 -07:00
Ilan Cosman
ba103857c8 Add git icon (#154) 2021-05-16 10:02:38 -07:00
Ilan Cosman
26c758cf30 Minor edits 2021-05-13 12:44:48 -07:00
Ilan Cosman
67def5c37b Switch to snake case 2021-05-12 13:13:51 -07:00
Ilan Cosman
8ebdffab21 Add special characters to indicate git tags and shas (work on #154) 2021-05-12 09:35:19 -07:00
Ilan Cosman
c36f0d16f3 Display git tag when available (work on #154) 2021-05-12 08:33:35 -07:00
Ilan Cosman
5592e225c9 Convert many items to _tide_print_item 2021-04-23 14:41:11 -07:00
Ilan Cosman
735023d3d3 Fix git item in bare repos (fixes #145) 2021-04-13 21:51:14 -07:00
Ilan Cosman
29a7de545f Fix git item in .git dir 2021-04-13 21:19:59 -07:00
Ilan Cosman
8e1dbc1870 Add --no-optional-locks to background git status 2021-04-04 20:04:09 -07:00
Ilan Cosman
85d1741f40 Only use gitDir for status if necessary (fixes #138) 2021-04-04 18:28:04 -07:00
Ilan Cosman
67f1ce4480 Put stash before git status info 2021-03-27 09:16:22 -07:00
Ilan Cosman
21d57439dd Always fetch git status, even in .git dir 2021-03-27 09:07:44 -07:00
Ilan Cosman
781fab9904 Fix git staged/dirty counters 2021-03-25 21:28:58 -07:00
Ilan Cosman
22683c674f Don't set a length for git SHA 2021-03-25 16:59:13 -07:00
Ilan Cosman
1cc1b83037 Use redirections instead of cat 2021-03-20 18:03:07 -07:00
Ilan Cosman
05af630a82 Run new fish_indent on code 2021-03-02 09:46:40 -08:00
Ilan Cosman
5091eb60ca Don't error if in .git directory of git repo 2021-02-09 15:54:01 -08:00
Ilan Cosman
8aedd1ddf7 Print git info in a nicer way 2021-02-03 10:06:26 -08:00
Ilan Cosman
972346fd7e Use --quiet instead of 2>/dev/null 2021-01-26 12:21:11 -08:00
Ilan Cosman
2d2c6a577d Minor edits 2021-01-25 06:51:46 -08:00
Ilan Cosman
12da651992 Fix git error when in repository with no commits 2021-01-24 14:44:05 -08:00
Ilan Cosman
3a85689517 Remove _tide_git_prompt_set_vars 2021-01-17 11:23:58 -08:00
Ilan Cosman
934526beb6 Add git item, fix basic things 2021-01-17 11:22:02 -08:00