Commit Graph

391 Commits

Author SHA1 Message Date
Ilan Cosman
1129394f79 Kill old process in main fish instance 2021-03-14 09:48:17 -07:00
Ilan Cosman
be6b2722ff Minor edits 2021-03-13 19:20:33 -08: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
a66ccd61c5 Revert "Don't even create fish_mode_prompt function" (fixes #119) 2021-03-09 11:58:36 -08:00
Ilan Cosman
aaff21d5a8 Make bug-report better 2021-03-08 11:07:47 -08:00
Ilan Cosman
e954a609ac Make status item smarter, remove tide_status_always_display 2021-03-07 21:43:39 -08:00
Ilan Cosman
a55612d38f Remove tide_rust_verbose_version and updates rust item test 2021-03-07 21:34:22 -08:00
Ilan Cosman
75e66b74b9 Don't print rust version if there are rust files 2021-03-07 21:30:26 -08:00
Ilan Cosman
7b61e865c7 Anchor first and last directories, remove tide_pwd_anchors 2021-03-07 10:09:58 -08:00
Ilan Cosman
d41e20959d Fix pwd markers 2021-03-06 11:58:49 -08:00
Ilan Cosman
8db9d18e7e Remove _tide_cursor_up and _tide_cursor_right 2021-03-05 17:50:30 -08:00
Ilan Cosman
e29efc022d Use fake_columns instead of real columns for wizard 2021-03-05 17:49:53 -08:00
Ilan Cosman
a8b08571d8 Update fake prompt for new printing method 2021-03-05 17:43:08 -08:00
Ilan Cosman
f3e704e5cf v4.2.0 2021-03-04 11:54:46 -08:00
Ilan Cosman
f48828136a More refactoring of print logic 2021-03-04 11:06:17 -08:00
Ilan Cosman
1425585e33 Refactor printing (fixes #111) 2021-03-04 11:05:49 -08: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
2a888b96b4 Don't even create fish_mode_prompt function 2021-02-28 18:36:37 -08:00
Ilan Cosman
fe924616e1 Refactor fish_prompt.fish 2021-02-28 16:47:07 -08:00
Ilan Cosman
aa50156af9 Make virtual_env item smarter (closes #97) 2021-02-28 15:37:19 -08:00
Piotr Usewicz
4f621eae3f
Add chruby item (#100)
* Add ruby item

* Rename chruby test

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-02-28 08:52:11 -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
d0fa97f0fa Add php item (#91) 2021-02-25 14:14:43 -08:00
Ilan Cosman
1fa79ab005 v4.1.1 2021-02-22 14:37:43 -08:00
Ilan Cosman
2620cb349a Support toor and Administrator in context item 2021-02-22 14:23:52 -08:00
Ilan Cosman
8d95cec0cb Add cmd_duration and context to generalItems list 2021-02-21 13:29:00 -08:00
Ilan Cosman
b872e7697b v4.1.0 2021-02-20 14:14:50 -08:00
Ilan Cosman
3fe936027c Minor edits 2021-02-16 20:59:30 -08:00
Ilan Cosman
aa77b86905 Update things for new removal system 2021-02-16 20:46:48 -08:00
Ilan Cosman
e85b733fef Remove tool-specific items if the user doesn't have them installed 2021-02-16 20:40:07 -08:00
Ilan Cosman
bc4e51a9a0 Update variable printing for bug-report 2021-02-11 11:08:36 -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
763cec1a80 Don't error if os file doesn't exist (fixes #24 again) 2021-02-07 16:16:43 -08:00
Ilan Cosman
c94a78e6c4 Don't validate bg colors, minor edits to left/right prompt 2021-02-07 14:44:19 -08:00
Ilan Cosman
edcc4f0e74 Minor edits to detect_os 2021-02-06 08:18:43 -08:00
Ilan Cosman
94c13536da Minor edits to PWD 2021-02-04 15:36:54 -08:00
Ilan Cosman
7263bc5b6b Avoid parsing directories as flags (fixes #88) 2021-02-04 15:19:16 -08:00
Ilan Cosman
0c5ecf6445 Add bug-report --clean 2021-02-03 12:57:13 -08:00
Ilan Cosman
6650040158 v4.0.0 2021-02-03 10:21:55 -08:00
Ilan Cosman
8aedd1ddf7 Print git info in a nicer way 2021-02-03 10:06:26 -08:00
Ilan Cosman
5e5ce26893 Use cyan instead of blue for 16 color pwd 2021-02-03 09:41:30 -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
2c80b32437 Add vi_mode_insert_color to class/lean 16 color configs 2021-01-27 09:35:38 -08:00
Ilan Cosman
bc2bddf2dc Fix tide configure on install bug 2021-01-27 09:34:23 -08:00
Ilan Cosman
383d6842ec Add rainbow_16color config 2021-01-27 09:29:15 -08:00
Ilan Cosman
24f28759be Dont show prompt connectionc color menu when using 16 color 2021-01-26 16:08:22 -08:00
Ilan Cosman
ecf6f786b4 Add lean_16color config 2021-01-26 16:06:47 -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
21d31bb8a9 Move tests directory into root of repository 2021-01-26 15:45:00 -08:00
Ilan Cosman
972346fd7e Use --quiet instead of 2>/dev/null 2021-01-26 12:21:11 -08:00
Ilan Cosman
2a93f4cca5 Remove seq, should fix macOS root dir bug 2021-01-25 21:48:34 -08:00
Ilan Cosman
34d19fbb58 Switch to littlecheck 2021-01-25 17:34:15 -08:00
Ilan Cosman
39e1bd1e83 Remove tide test 2021-01-25 11:22:28 -08:00
Ilan Cosman
13f03a47a7 Remove CI specific tests 2021-01-25 11:01:44 -08:00
Ilan Cosman
78f3b840c0 Add classic_16color config 2021-01-25 09:08:20 -08:00
Ilan Cosman
b5cfffb342 Refactor pwd item a bit 2021-01-25 07:31:21 -08:00
Ilan Cosman
09a610d08c Simplify variable handling 2021-01-25 07:13:06 -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
8b5a815cb8 Fix 16 colors for classic 2021-01-24 09:42:46 -08:00
Ilan Cosman
0ef06d1b72 Add prompt colors menu 2021-01-24 09:12:30 -08:00
Ilan Cosman
ca11b789ef Add tide_true_color 2021-01-22 20:44:57 -08:00
Ilan Cosman
3bc8f52d58 Fix quit bug in wizard 2021-01-22 17:28:48 -08:00
Ilan Cosman
baa87d77b4 Fix errors in rainbow config 2021-01-22 17:02:55 -08:00
Ilan Cosman
443a3ddf7a Unify prompt connection menus 2021-01-22 16:35:14 -08:00
Ilan Cosman
bad52f9dbb Simplify menus code 2021-01-22 16:31:31 -08:00
Ilan Cosman
8554ab3145 Remove tide test install flag 2021-01-22 16:09:36 -08:00
Ilan Cosman
b7fcafbe85 Merge main into v4 2021-01-22 15:52:00 -08:00
Ilan Cosman
b7980bf4b8 Remove remnants of git_prompt 2021-01-21 16:52:02 -08:00
Ilan Cosman
36a4ede37e Update configs for new git 2021-01-21 16:48:13 -08:00
Ilan Cosman
189cf1c967 Minor edits 2021-01-20 14:04:02 -08:00
Ilan Cosman
67f19640e0 Fix pwd when in root dir (fixes #80) 2021-01-20 12:29:42 -08:00
Ilan Cosman
e93f86267d Remove pure style 2021-01-19 16:09:16 -08:00
Ilan Cosman
8752bb5ce1 Remove defunct git stuff 2021-01-17 11:33: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
Ilan Cosman
455a2f759c Merge git_prompt repo 2021-01-17 11:17:29 -08:00
Ilan Cosman
328b12186e Minor edits 2021-01-16 17:17:18 -08:00
Ilan Cosman
72a28d0485 Rename unmerged to conflicted 2021-01-16 17:14:21 -08:00
Ilan Cosman
170df9bf14 Add colors 2021-01-16 16:50:50 -08:00
Ilan Cosman
aa55231eae Add operations 2021-01-16 15:15:33 -08:00
Ilan Cosman
defc649b43 Add unmerged 2021-01-16 14:39:10 -08:00
Ilan Cosman
139545f976 Calculate staged vs dirty 2021-01-16 13:06:14 -08:00
Ilan Cosman
8d1c92d9b0 Rename variables 2021-01-16 10:40:00 -08:00
Ilan Cosman
be8720536f Add stash count 2021-01-16 10:23:30 -08:00
Ilan Cosman
0632655297 Add upstream ahead/behind 2021-01-16 10:11:47 -08:00
Ilan Cosman
bdc1a6448f Initial commit 2021-01-16 09:49:48 -08:00
Ilan Cosman
f3b4e6aa98 Remove git from tide_pwd_anchors, left there by mistake 2021-01-15 20:13:28 -08:00
Ilan Cosman
18c687b2d6 Simplify pwd item, remove pwd_max_dirs 2021-01-15 20:08:33 -08:00
Ilan Cosman
306a918dd9 Fix spaces in pwd bug (fixes #74) 2021-01-15 17:33:49 -08:00
Ilan Cosman
e0aca078fb Replace @mesg with @echo 2021-01-12 20:12:55 -08:00
Jorge Bucaran
bee67c6c4a
Use Fishtape instead of Spout (#70)
* Use Fishtape

* Capitalize

* Don't capitalize link

* Don't invalidate rust test
2021-01-12 19:58:48 -08:00
Ilan Cosman
bd44ff6206 v3.2.0 2021-01-12 16:03:31 -08:00
Ilan Cosman
010ff2ddea Merge pwd 2021-01-12 15:52:29 -08:00
Ilan Cosman
d6a2271cd3 Fix color bug in pwd 2021-01-11 16:23:35 -08:00