Commit Graph

105 Commits

Author SHA1 Message Date
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
Ilan Cosman
dc149a652c Fix bug with restarting configuration wizard 2021-07-17 14:33:31 -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
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
9b109f5715 Detect jobs faster 2021-07-08 09:43:41 -07:00
Ilan Cosman
c8b1683328 Use default name variables for status 2021-07-06 15:41:52 -07:00
Ilan Cosman
c03d50845b Remove shlvl test for now 2021-06-29 14:50:01 -07:00
Ilan Cosman
0172b89160 set TERM for tests 2021-06-26 14:23:08 -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
6e74d1c71d Remove nonexistent variable tide_jobs_verbose 2021-06-08 13:21:49 -07:00
Ilan Cosman
138b60021f Update pwd tests 2021-05-29 19:08:52 -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