Ilan Cosman
b90b041316
Use default name variables for pwd
2021-07-06 15:49:58 -07:00
Ilan Cosman
67b1e76da3
Use default name variables for character
2021-07-06 15:45:12 -07:00
Ilan Cosman
c8b1683328
Use default name variables for status
2021-07-06 15:41:52 -07:00
Ilan Cosman
dba2550a5f
Remove defunct tide_nvm_default_node variable
2021-07-06 14:25:31 -07:00
Ilan Cosman
7ebdc5c490
Minor git performance improvement
2021-07-06 14:09:17 -07:00
Ilan Cosman
01d6fcecca
Minor edits
2021-07-03 11:24:29 -07:00
Ilan Cosman
57f42f12e0
Style edits
2021-06-29 14:59:35 -07:00
Ilan Cosman
159e99fec8
Update SHLVL item for fish 3.3
2021-06-29 14:41:52 -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
ff108b70ac
Remove tide_virtual_env_display_mode
2021-06-27 10:59:38 -07:00
Ilan Cosman
0ac6d94977
Remove tide_character_vi_icon_insert
2021-06-27 10:59:09 -07:00
Ilan Cosman
4787306128
Remove unnecessary vi variables
2021-06-27 10:52:40 -07:00
Ilan Cosman
aefd66c45a
Add changing background color to git item ( closes #163 )
2021-06-27 10:47:11 -07:00
Ilan Cosman
a110101b4e
Minor improvements to pwd
2021-06-24 13:52:58 -07:00
Ilan Cosman
51fb1db7c3
Revert "Minor pwd edits"
...
This reverts commit 04220a92a5
.
2021-06-24 13:41:53 -07:00
Ilan Cosman
c3e555e67e
Don't set fish_term24bit
2021-06-24 12:58:13 -07:00
Kid
b8f832c09d
Add SHLVL
item ( #165 )
...
* Add SHLVL item
* Run function in subshell
* Python bug?
* Revert "Python bug?"
This reverts commit 79fbadc29f
.
* Change icon
* Fix macOS test
* Run on Linux only
2021-06-23 14:47:28 -07:00
Ilan Cosman
c9e4c0c14a
Fix fake os item
2021-06-22 16:21:21 -07:00
Ilan Cosman
04220a92a5
Minor pwd edits
2021-06-22 16:04:05 -07:00
Ilan Cosman
040a94980e
Minor edits
2021-06-13 16:44:11 -07:00
Ilan Cosman
6e74d1c71d
Remove nonexistent variable tide_jobs_verbose
2021-06-08 13:21:49 -07:00
Ilan Cosman
24b981e97c
Also check for python3 before removing item ( fixes #162 )
2021-06-03 13:12:38 -07:00
Ilan Cosman
a85c577c81
Remove non-existant tide_time_icon
2021-06-01 17:11:03 -07:00
Ilan Cosman
922098d3cf
Fix pwd
2021-06-01 16:34:42 -07:00
Ilan Cosman
27c2d7754e
Run pwd after other items ( closes #131 )
2021-05-29 17:11:46 -07:00
Ilan Cosman
71ea357d5c
Fix context colors
2021-05-29 14:59:17 -07:00
Ilan Cosman
356e515ce9
Check git version in bug-report
2021-05-26 09:12:21 -07:00
Ilan Cosman
f75df39b6f
Fix vi_mode item
2021-05-23 12:42:31 -07:00
Ilan Cosman
4f7ce45df5
Fix wizard
2021-05-22 21:06:26 -07:00
Ilan Cosman
43536ababe
Add fake newline item
2021-05-22 20:52:12 -07:00
Ilan Cosman
64dd0c37d4
Merge prompt_items and functions directories
2021-05-22 20:51:21 -07:00
Ilan Cosman
9f6a4e108b
Partially fix wizard
2021-05-22 20:46:33 -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
5659392f93
Reduce number of universal variables
2021-05-18 15:00:49 -07:00
Ilan Cosman
ba103857c8
Add git icon ( #154 )
2021-05-16 10:02:38 -07:00
Ilan Cosman
f9f0023e54
Fix snake case bug
2021-05-13 12:53:57 -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
9b88923f30
Minor edits
2021-05-08 13:08:36 -07:00
Ilan Cosman
315d00fe66
Minor edits
2021-05-05 10:10:07 -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
338800f621
Fix tide_virtual_env_icon misspelling
2021-05-04 10:20:28 -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
bbee4139d0
Remove icon responsibilty from _tide_print_item
2021-05-04 08:47:32 -07:00
Ilan Cosman
6d2e90ab9f
Make newline an item
2021-04-29 09:36:18 -07:00
Ilan Cosman
7756f1ae16
minor edits
2021-04-26 13:47:15 -07:00
Ilan Cosman
68c028eea6
minor edits
2021-04-26 13:27:02 -07:00
Ilan Cosman
ae86638d6e
more fixing color printing bug
2021-04-26 12:02:16 -07:00
Ilan Cosman
4fd53f8a73
fix color printing bug
2021-04-26 11:56:12 -07:00
Ilan Cosman
b8401770dc
Switch rust to rustc better
2021-04-24 18:14:30 -07:00
Ilan Cosman
322dd13caa
Rename rust to rustc
2021-04-24 18:01:02 -07:00
Ilan Cosman
2e62215c04
Fix chruby item bug
2021-04-24 17:57:16 -07:00
Ilan Cosman
97ada49838
Add tide_prompt variables
2021-04-24 17:46:58 -07:00
Ilan Cosman
dfe5bb8618
Rename prompt_char to character
2021-04-24 17:42:12 -07:00
Ilan Cosman
bf990577ed
More work on v5
2021-04-24 17:40:43 -07:00
Ilan Cosman
889c25972d
Fix pwd bugs
2021-04-24 14:30:03 -07:00
Ilan Cosman
5592e225c9
Convert many items to _tide_print_item
2021-04-23 14:41:11 -07:00
Ilan Cosman
8f506f9f0d
Add _tide_print_item function
2021-04-23 13:58:28 -07:00
Ilan Cosman
630ae9f7d9
v4.3.4
2021-04-14 14:42:25 -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
9e7eaac85d
Ask for info in bug-report
2021-04-12 17:35:35 -07:00
Ilan Cosman
6ee4796758
Check for omf in bug-report
2021-04-12 16:48:01 -07:00
Ilan Cosman
9e3221ce48
v4.3.3
2021-04-11 09:43:11 -07:00
Ilan Cosman
d72af19940
Go back to using fish_prompt function instead of handler
...
fixes #126
fixes #139
2021-04-10 08:56:38 -07:00
Ilan Cosman
e98a412bad
Minor startup speed improvement
2021-04-10 08:46:10 -07:00
Ilan Cosman
c7d9679b28
Detect os on install only
2021-04-04 20:20:26 -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
52be745319
give feedback when checking versions
2021-03-30 15:29:21 -07:00
Ilan Cosman
1eca002e73
Update bug-report template
2021-03-30 14:01:51 -07:00
Ilan Cosman
0d306fe85b
Make tide bug-report check that Tide and Fish are up to date
2021-03-30 13:53:41 -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
d2ba4b45fe
v4.3.2
2021-03-26 11:38:05 -07:00
Ilan Cosman
4bbf541281
Use $status instead of $pipestatus[-1] to account for not
2021-03-26 07:33:52 -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
3c58061603
Don't set prompt_char background color in classic mode
2021-03-25 09:59:17 -07:00
Ilan Cosman
7f015294c2
v4.3.1
2021-03-24 22:03:42 -07:00
Ilan Cosman
825f639fce
v4.3.0
2021-03-22 10:23:46 -07:00
Ilan Cosman
c6a1ad45c7
Retool _tide_detect_os_linux_cases and add new distros
2021-03-21 22:25:50 -07:00
Ilan Cosman
6ce2e4a632
Just use display_var variables, not fish_pid
2021-03-21 21:39:14 -07:00
Ilan Cosman
1cc1b83037
Use redirections instead of cat
2021-03-20 18:03:07 -07:00
Ilan Cosman
c5d7640415
Simplify removing unusable items
2021-03-17 22:23:01 -07:00
Ilan Cosman
9e7f04d82e
Remove unusable tool items on startup ( fixes #129 )
2021-03-17 14:30:04 -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
9e37766508
Minor refactor of pwd
2021-03-16 09:05:34 -07:00
Ilan Cosman
02adc2f08a
Fix bug when truncating single character directories
2021-03-16 09:03:19 -07:00
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
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