Commit Graph

118 Commits

Author SHA1 Message Date
Ilan Cosman
10a1fabc9e Replace virtual_env item with more general python item 2023-09-24 13:20:46 -07:00
Carl Mercier
9252158e4f
Converted chruby to generic ruby (#437)
* Converted chruby to generic ruby

* Attempt at tests

* Only show the Ruby version if current directory has .rb files

* Only show the Ruby version if current directory has .rb files

* Revert "Only show the Ruby version if current directory has .rb files"

This reverts commit 136b02c1fd.

* Refactor

* Removed .tool-versions

* Sort configs

* Sort icons

* Remove pending changes

* Sort for remove_unusable_items

---------

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2023-09-13 21:06:56 -07:00
Ilan Cosman
b852cdf8d6 Escape regex truncated inputs (fixes #438) 2023-09-08 14:31:16 -07:00
Ilan Cosman
447945d2cf Never truncate to just a dot (fixes #399) 2023-04-05 11:20:57 -07:00
Branch Vincent
270b2696b4
add direnv (#398)
* add direnv

* fixes
2023-04-04 18:30:19 -07:00
Branch Vincent
6a9d3e2749
add gcloud (#396)
* add gcloud

* use named capture group
2023-04-01 14:39:02 -07:00
Douglas Goulart
be131a5560
fix: linux mint os selection (#397) 2023-04-01 10:31:43 -07:00
Ilan Cosman
7f11fcbe90 Fix error message when git status is massive, add regression test (fixes #394) 2023-03-28 17:16:06 -07:00
Ilan Cosman
9d8d1986cb Add setting to allow shortening git branch from the left 2023-03-26 09:40:37 -07:00
Andrew Selder
c6a1c8e89e
Add an Elixir prompt Item (#373)
* Add an Elixir prompt Item

* Add item to list, update color, add to 16_color configs

---------

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2023-03-25 12:23:31 -07:00
Toni Müller
3e15d0d242
Fix failing tests (#381)
* Fixed git test and time test

* investigate failing ubuntu tests

* Try another fix
2023-02-18 08:38:56 -08:00
Devansh Sharma
0a83ef6af8
Add Pulumi item (#335)
* Add Pulumi support

* Fix indentation issues

* Update to command rm in pulumi test

* Replace python script with sha1sum command; Update to use fish builtins

* Some changes to pulumi item

* Update pulumi item for search-up behavior

* Actually update pulumi item for search-up behavior

* Merge main

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-09-19 18:19:59 -07:00
Ilan Cosman
22c230c99e Fix parent dir bugs (#346), pwd bugs, add regression tests 2022-09-14 20:50:12 -04:00
Ilan Cosman
b508a7f52b Add tide_context_hostname_parts 2022-09-05 14:07:29 -04:00
Ilan Cosman
e53a7ec633 Update tests for _tide_parent_dirs 2022-09-05 12:56:50 -04:00
Devansh Sharma
13fa55ef10
Use command rm in tests (#336)
* Update rm to /bin/rm in tests

* Fix check regex in time item test

* Revert "Fix check regex in time item test"

This reverts commit edb871f8ba.

* Update /bin/rm to command rm in tests
2022-08-27 05:22:24 -04:00
Ilan Cosman
ae7aa9bb47 Truncate the beginning of branch names, not the end 2022-08-22 06:50:13 -04:00
Rafael Revi
ea39d97323
crystal language item (#322)
* now with crystal lnaguage support

* added crystal to remove unusable items

* Color edits

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-08-06 13:41:27 -04:00
Ilan Cosman
6906f7ece2 Use EUID to detect superuser 2022-07-29 17:49:47 -04:00
Erin Kim
c4e6dc455c
add nix_shell item (#305)
* add nix_shell item

* Use brblue instead of blue

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-05-27 12:31:24 -07:00
Ilan Cosman
7463c460d5 Use more modern android logo 2022-04-29 15:07:04 -07:00
Ilan Cosman
a389f6fd1d Change some printfs to echos 2022-04-29 13:50:15 -07:00
Oleksandr Kravtsov
1662401be6
Add aws item (#293)
* Add aws item

* Minor edits to item code

* Use nerd font icon

* Fix test for new icon, add aws to list of tool items

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-04-25 10:40:50 -07:00
Austin Ziegler
26f1a8d572
Support multiple 'default' contexts for Docker (#283)
* Support multiple 'default' contexts for Docker

If someone is using 'colima' instead of Docker Desktop, the default
context is 'colima'. Rather than making two tests with fixed values,
add a new configuration variable and use `contains`.

* Remove non-colour configuration from color files
2022-04-23 15:47:05 -07:00
Jose Riha
a0d62a7c6b Add Android icon (#289)
* Add Android icon

* Minor code changes, change background color and icon

* I wonder if misspell is happy with quotes

* Nope, wimp out and call it dark theme

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-04-22 13:02:26 -07:00
Ilan Cosman
6caf90f087 Add git submodule test 2022-04-22 08:16:05 -07:00
Ilan Cosman
366e69bf82 Improve detect_os tests 2022-04-10 13:34:06 -07:00
Ilan Cosman
c3bd035299 Improve detect_os test 2022-04-07 14:21:03 -07:00
Ilan Cosman
4a6413300c Test detect_os instead of os item 2022-04-06 17:39:48 -07:00
Ilan Cosman
426b3b3ed6 Fix OS item test 2022-04-06 17:10:51 -07:00
Ilan Cosman
4f2778704b Fix java item for old jdks (fixes #271) 2022-04-01 13:46:53 -07:00
Ilan Cosman
06a3383e4c Improve pwd tests 2022-03-11 15:53:44 -08:00
Ilan Cosman
ab1c6f4a07 Don't overwrite config.fish during tests 2022-01-19 08:27:04 -08:00
Ilan Cosman
05658ae43d Merge java item (#244) 2022-01-09 13:14:55 -08:00
Ilan Cosman
a1949f0e7f Fix pwd tests 2022-01-08 14:09:21 -08:00
Ilan Cosman
63c83bd5aa Add java item test 2022-01-06 09:14:36 -08:00
Ilan Cosman
8fa9165762 Don't set var outside of test 2022-01-04 15:04:55 -08:00
Ilan Cosman
46587cb19b minor edits 2021-12-21 14:32:17 -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
36393ffb75 Fix tests 2021-11-25 09:47:53 -08:00
Ilan Cosman
6047c86351 Replace --regex with -r, it's used often enough 2021-10-31 13:44:16 -07:00
Ilan Cosman
055f298b12 Add tide_git_truncation_length (#221) 2021-10-31 10:53:43 -07:00
Ilan Cosman
0389bb6a99 Remove spurious quotes 2021-10-14 18:09:55 -07:00
Ilan Cosman
9f11d9fa6b Minor edits 2021-09-30 21:18:16 -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
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
Branch Vincent
740904fe6a
isolate tests and add Makefile (#179)
* isolate tests

* add Makefile

* Makefile edits

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2021-07-25 10:46:58 -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