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
Ilan Cosman
8b4201cbdf
Add go item ( #174 )
...
Co-authored-by: Dr. Stephan Heuer <dshr153@gmail.com>
2021-07-14 09:10:09 -07:00
Ilan Cosman
54bf900104
Fix icon bug
2021-07-10 15:56:39 -07:00
Ilan Cosman
0c5ba87d56
Support pipenv in virtual_env item ( #170 )
...
Co-authored-by: William Brown <Will@WillJBrown.com>
2021-07-08 11:27:43 -07:00
Ilan Cosman
6c82bd249e
Fix highlighting of directories like /foo/bar
2021-07-08 10:30:43 -07:00
Ilan Cosman
9b109f5715
Detect jobs faster
2021-07-08 09:43:41 -07:00
Ilan Cosman
c43c10daac
Remove fish_mode_prompt
2021-07-06 16:12:47 -07:00
Ilan Cosman
9efac25457
Minor edits
2021-07-06 16:09:01 -07:00
Ilan Cosman
a6d68a85da
Formatting
2021-07-06 15:51:40 -07:00
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