Commit Graph

699 Commits

Author SHA1 Message Date
Ilan Cosman
10ded01522 Split on spaces in detect_os_linux_cases (fixes #277) 2022-04-10 12:21:15 -07:00
Ilan Cosman
eb4ab530da v5.2.0 2022-04-07 14:41:28 -07:00
Ilan Cosman
62d621c78a Darken pure-white background colors 2022-04-06 17:47:14 -07:00
Ilan Cosman
93db493b10 Add apple os color 2022-04-06 17:05:59 -07:00
Ilan Cosman
13daf44ffa More work on colored logos 2022-04-05 17:08:54 -07:00
Ilan Cosman
bda9eda525 Add freeBSD colors 2022-04-05 17:08:54 -07:00
Ilan Cosman
6ba25cc1b1 Add colors and sources to linux logos, remove some logos 2022-04-05 17:08:54 -07:00
Ilan Cosman
b5d0544743 v5.1.2 2022-04-03 13:29:17 -07:00
Ilan Cosman
dbb8a6e7e3 Fix extra space on single line lean (fixes #274) 2022-04-03 13:25:37 -07:00
Ilan Cosman
c87ff16242 v5.1.1 2022-04-01 14:04:48 -07:00
Ilan Cosman
4f2778704b Fix java item for old jdks (fixes #271) 2022-04-01 13:46:53 -07:00
Ilan Cosman
5a6bf534f7 v5.1.0 2022-03-31 20:34:02 -07:00
Oskar
95533131ee
Don't omit suffixes in 2-line prompts (#268) 2022-03-17 17:11:28 -07:00
Ilan Cosman
ccabacb629 Use read instead of command substitution 2022-03-14 08:43:24 -07:00
Ilan Cosman
4169dbf1cb Only use clear if it is installed (fixes #265) 2022-03-14 07:10:29 -07:00
Ilan Cosman
5d6b00a7b8 Bump default tide_prompt_min_cols from 26 to 34 2022-03-11 16:32:12 -08:00
Ilan Cosman
1d81675fa0 Fix pwd icon in home dir bug 2022-03-11 16:09:15 -08:00
Ilan Cosman
06a3383e4c Improve pwd tests 2022-03-11 15:53:44 -08:00
Ilan Cosman
2b78ac2540 Run fish from status fish-path 2022-03-09 14:12:55 -08:00
Ilan Cosman
85d09604a0 Fix highlighting completions in two line prompts 2022-03-09 13:40:20 -08:00
Ilan Cosman
041f23921a Repaint prompt when COLUMNS changes (fixes #254) 2022-02-21 07:19:18 -08:00
Ilan Cosman
1746ff8fa1 Add comment 2022-02-05 15:14:21 -08:00
Ilan Cosman
d75e4be05a Rename var 2022-01-26 09:35:35 -08:00
Ilan Cosman
af7dc0e412 Minor edits 2022-01-25 11:16:29 -08:00
Ilan Cosman
26035be376 Quote 2022-01-19 08:24:38 -08:00
Ilan Cosman
919fba0429 Simplify PWD 2022-01-19 08:18:14 -08:00
Ilan Cosman
9ca7a9c507 Only replace $HOME with ~ if at beginning (fixes #250) 2022-01-19 07:13:20 -08:00
Ilan Cosman
3e0dc2c3dc Don't set SHA, just set location 2022-01-16 17:00:40 -08:00
Ilan Cosman
3c824434b0 Simplify 2022-01-15 08:25:15 -08:00
Ilan Cosman
dccc5120f1 Remove --is-inside-git-dir 2022-01-14 20:05:46 -08:00
Ilan Cosman
4580b64852 Add color normal to right prompt 2022-01-13 22:10:33 -08:00
Ilan Cosman
95f143dc51 Shorten and combine options 2022-01-12 10:24:41 -08:00
Ilan Cosman
400f37104b Add .editorconfig 2022-01-11 10:53:37 -08:00
Ilan Cosman
7ce5d6c0e4 Fix spelling errors 2022-01-10 14:47:32 -08:00
Ilan Cosman
43a6ff137d Dequote java icon 2022-01-09 13:18:18 -08:00
Ilan Cosman
05658ae43d Merge java item (#244) 2022-01-09 13:14:55 -08:00
Ilan Cosman
f2776829aa Fix _tide_last_pid being local 2022-01-09 11:28:42 -08:00
Ilan Cosman
0a9c0d3d26 Update prompt_var mechanics 2022-01-09 11:13:36 -08:00
Ilan Cosman
70ac8f1195 Fix right prompt frame bug 2022-01-08 14:05:44 -08:00
Ilan Cosman
a592d34abd Fix colors, simplify item 2022-01-06 08:48:57 -08:00
Yonatan Striem-Amit
75238d14ee java support for tide 2022-01-06 07:59:37 -05:00
Ilan Cosman
adb6f33bfe Rename local variables 2022-01-05 13:50:08 -08:00
Ilan Cosman
ea0b386a0c Also eval _tide_pwd 2022-01-05 11:25:32 -08:00
Ilan Cosman
fc17a69914 Fix bug 2022-01-04 15:17:49 -08:00
Ilan Cosman
5a70822cc1 Run even less code, improve variable scoping 2022-01-04 15:04:39 -08:00
Ilan Cosman
fb151162b0 Fix 2 line prompt 2022-01-03 13:03:28 -08:00
Ilan Cosman
18c5aedfdd Minor edits 2022-01-03 11:01:06 -08:00
Ilan Cosman
60327b32db Some work, 1 line prompt functional, 2 line not 2022-01-02 09:09:59 -08:00
Ilan Cosman
2d5474005c Further optimize pwd truncation 2021-12-22 14:59:52 -08:00
Ilan Cosman
46587cb19b minor edits 2021-12-21 14:32:17 -08:00
Ilan Cosman
7bc701c8b6 Minor edits 2021-12-14 13:40:26 -08:00
Ilan Cosman
2b0696b087 Minor edits 2021-12-13 18:24:22 -08:00
Ilan Cosman
88e763efbc Use a less weird escape character 2021-12-13 17:29:38 -08:00
Ilan Cosman
1f0a972ac0 Fix character item spacing issue 2021-12-12 02:17:44 -08:00
Ilan Cosman
7224a99ba6 Merge in docker item (#231)
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
2021-12-10 10:20:23 -08:00
Ilan Cosman
e41aeecf9b Speed up pwd truncation algorithm 2021-12-09 22:56:17 -08:00
Ilan Cosman
e56e1f971c Minor edits 2021-12-09 09:03:36 -08:00
Ilan Cosman
3ef3929d20 Remove useless code 2021-12-08 11:08:33 -08:00
Ilan Cosman
9f64ed61c4 More evaling 2021-12-08 09:27:33 -08:00
Ilan Cosman
20f85e4e11 Use two prompts 2021-12-08 09:21:12 -08:00
Ilan Cosman
8dde77e9f6 Use eval for fish_prompt 2021-12-08 09:09:13 -08:00
Ilan Cosman
886b94a6d8
Finish pipeline in _tide_item_status 2021-12-04 19:25:40 -08:00
Ilan Cosman
36064b4109
Minor edits 2021-11-29 09:13:33 -08:00
Ilan Cosman
006bd89b60 Rename var 2021-11-28 12:30:45 -08:00
Ilan Cosman
49fd438267 Don't anchor if tide_pwd_markers is empty 2021-11-25 10:51:31 -08:00
Ilan Cosman
a6887068a7 Use for loop instead of command substitution 2021-11-25 10:08:41 -08:00
Ilan Cosman
13b6c60411 Don't edit tide_.*_prompt_items anymore, instead use internal vars 2021-11-24 15:45:48 -08:00
Ilan Cosman
4945e83ecf Remove --quiet, shouldn't be necessary anymore 2021-11-13 15:42:24 -08:00
Ilan Cosman
1ebc8d618c Improve completions 2021-11-12 15:48:20 -08:00
Ilan Cosman
ac63f94075 Minor edits to character item 2021-11-11 10:46:04 -08:00
Ilan Cosman
267187e0de Minor performance improvement for git item 2021-11-08 16:14:48 -08:00
Ilan Cosman
28e1a8fa48 Minor refactor of pwd 2021-11-04 14:26:53 -07:00
Ilan Cosman
bddabcc55f Speed up caching 2021-11-03 22:07:15 -07:00
Ilan Cosman
9c58d82889 Better regex 2021-11-01 08:49:31 -07:00
Ilan Cosman
f019605e01 Add hostname to toolbox item 2021-11-01 07:50:33 -07:00
Ilan Cosman
6047c86351 Replace --regex with -r, it's used often enough 2021-10-31 13:44:16 -07:00
Ilan Cosman
f7afe8caaf Appease shellcheck 2021-10-31 11:16:17 -07:00
Ilan Cosman
055f298b12 Add tide_git_truncation_length (#221) 2021-10-31 10:53:43 -07:00
Ilan Cosman
fa3393f362 Set tide_os_icon in configs 2021-10-30 17:55:23 -07:00
Ilan Cosman
1aff60688a Use last tag instead of first, more specific 2021-10-26 13:39:32 -07:00
Ilan Cosman
1edb196234 Minor edits 2021-10-26 10:50:54 -07:00
Ilan Cosman
b5369ce898 Fix bug where directory was shown as truncated, but wasn't 2021-10-18 09:46:46 -07:00
Ilan Cosman
0389bb6a99 Remove spurious quotes 2021-10-14 18:09:55 -07:00
Ilan Cosman
010169a7c8 Add right prompt to configure 2021-10-14 17:32:48 -07:00
Ilan Cosman
f7b152986a Start fixing configuration 2021-10-14 14:16:29 -07:00
Ilan Cosman
38466cf6a1 Add toolbox item (closes #211) 2021-10-13 09:00:10 -07:00
Ilan Cosman
5e614e460a Minor edits 2021-10-12 21:59:39 -07:00
Ilan Cosman
56a7054487 Minor edits 2021-10-09 18:52:17 -07:00
Ilan Cosman
3f46f36c8a Cache tide_prompt_color_separator_same_color 2021-10-09 14:53:22 -07:00
Ilan Cosman
3e7b702ae0 Combine string matches in git item 2021-10-09 09:59:22 -07:00
Ilan Cosman
62a87872ff Fix git bg color 2021-10-03 12:07:00 -07:00
Ilan Cosman
b3ef596229 Add private mode item (closes #157) 2021-10-03 12:05:43 -07:00
Ilan Cosman
0376903ca6 Rename variables 2021-10-01 10:52:44 -07:00
Ilan Cosman
9f11d9fa6b Minor edits 2021-09-30 21:18:16 -07:00
Ilan Cosman
e0bf7eca1a Use string match to set variables instead of read 2021-09-30 10:14:55 -07:00
Ilan Cosman
60b6674727 Minor edits to bug-report 2021-09-30 09:18:41 -07:00
Ilan Cosman
3a34269fde Minor edits 2021-09-30 09:17:51 -07:00
Ilan Cosman
45f598723b Minor edits to cmd_duration 2021-09-27 11:46:58 -07:00
Ilan Cosman
049074e2a3 Minor edits 2021-09-27 11:21:19 -07:00
Ilan Cosman
6b26c69da8 Minor edits 2021-09-26 18:14:26 -07:00
Ilan Cosman
70d232c20a Minor edits 2021-09-24 16:51:22 -07:00
Ilan Cosman
5174c77d76 Minor edits 2021-09-23 17:47:59 -07:00
Ilan Cosman
1fd2339d3a Minor edits 2021-09-23 13:58:41 -07:00
Ilan Cosman
856dfcb640 Minor edits 2021-09-23 13:45:41 -07:00
Ilan Cosman
980e6af695 Use function scoping 2021-09-23 08:35:10 -07:00
Ilan Cosman
6f44ec078e Cache item padding 2021-09-22 13:35:33 -07:00
Ilan Cosman
08e1fcc9b5 Cleanup for removing tide_character_bg_color 2021-09-22 13:27:42 -07:00
Ilan Cosman
785abbf045 Minor edits 2021-09-22 12:28:26 -07:00
Ilan Cosman
832dc5f2b5 Use fewer command substitutions in git item 2021-09-21 18:16:00 -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
24a83c3098 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
radek-sprta
3787c725f7
Add Terraform item (#203)
* Add Terraform item

* Do not show default workspace in Terraform prompt

* Add terraform to tide_right_prompt_items

* Add terraform to _tide_remove_unusable_items

* Fix test, use read, format

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-09-21 16:02:08 -07:00
Ilan Cosman
03bffd90c3 Remove tide_character_bg_color 2021-09-07 20:33:56 -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
d64e9c3739 Add fisher plugins to bug report 2021-09-03 18:39:44 -08:00
Ilan Cosman
5b069c806b Add fish startup time to bug report 2021-09-03 18:32:14 -08:00
Ilan Cosman
67786c626f Fix set error for makefile 2021-08-25 16:52:31 -07:00
Ilan Cosman
9c0ed1e4ce Add variable caching 2021-08-21 21:43:42 -07:00
Branch Vincent
5c2a6c2e03
configure: read single character (#187) 2021-08-21 14:59:45 -07:00
Ilan Cosman
451acfe7d5 v5.0.1 2021-08-13 16:09:45 -07:00
Ilan Cosman
79c0dac801 Use variable expansion instead of a new variable 2021-08-13 15:45:58 -07:00
Ilan Cosman
a8824ebb21 Remove fish_right_prompt file 2021-08-13 04:54:40 -07:00
Ilan Cosman
d1d647c352 Clean up old prompt var usages 2021-08-13 04:49:48 -07:00
Ilan Cosman
26485519ba Use one prompt variable instead of two (closes #171) 2021-08-13 04:28:09 -07:00
Ilan Cosman
733ad697c1 Set correct variable in configs 2021-08-12 10:12:33 -07:00
Ilan Cosman
f2b7e23c52 v5.0.0 2021-08-11 16:05:15 -07:00
Ilan Cosman
27939c3ddf Use version tag for install 2021-08-11 15:03:58 -07:00
Ilan Cosman
bd3dc8c8c4 Remove nvm item 2021-08-11 14:47:08 -07:00
Branch Vincent
4f1002c3df
add node item (#181)
* add node

* Use string trim instead

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-08-11 14:45:12 -07:00
Ilan Cosman
bd875fb85b Minor edits 2021-08-01 14:28:27 -07:00
Kid
cfe0b228f5
Use single underscore for __tide_on_fish_exit (#182) 2021-07-25 11:15:45 -07:00
Ilan Cosman
158b723a61 Fix spacing with pwd icon (fixes #180) 2021-07-22 10:01:50 -07:00
Branch Vincent
9d16aec7a3
add kubectl item (#178)
* add kube context

* handle missing namespace

* Rename to kubectl

* Minor edits

* Fix test

* Use hex brand colors, add kubectl to right items

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-07-19 21:35:50 -07:00
Ilan Cosman
0f99df9d17 Minor edits 2021-07-17 14:34:36 -07:00
Ilan Cosman
dc149a652c Fix bug with restarting configuration wizard 2021-07-17 14:33:31 -07:00
Ilan Cosman
3b237311b1 Use ruby branding colors for chruby item 2021-07-14 19:04:18 -07:00
Ilan Cosman
de0925106e Use php branding colors for php item 2021-07-14 18:58:29 -07:00
Ilan Cosman
657c989afa Fix classic background color setting bug 2021-07-14 18:50:05 -07:00
Ilan Cosman
4842005ef2 Use rustacean branding colors for rustc item 2021-07-14 18:48:52 -07:00
Ilan Cosman
50df365c50 Use node branding colors for nvm item 2021-07-14 18:35:36 -07:00
Ilan Cosman
0e60ba059c Fix chruby item colors 2021-07-14 18:23:24 -07:00
Ilan Cosman
aae405160e Fix go item colors 2021-07-14 18:18:27 -07:00