Commit Graph

699 Commits

Author SHA1 Message Date
Ilan Cosman
6e4739afd4 autoremove elixir item 2023-03-25 12:33:02 -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
Taha
0cf2993d37
Fix distrobox prompt support (#351)
* Fix distrobox prompt support

* Fix distrobox prompt support

* Fix distrobox prompt support

* Fix distrobox prompt support

* Fix distrobox prompt support

* Fix distrobox prompt support

* Simplify and format

* Fix distrobox prompt support

* Remove extraneous command

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-10-14 14:10:27 -07: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
David Lapshin
81ffcfea58
Add Distrobox item (#337)
* Add distrobox indicator

* Display name when in distrobox container

* Add to remove_unusable_items and change colors

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-09-19 15:51:40 -07:00
jazzsnobeatcake
e8b2443cd7
Display toolbox name (#343)
* Display toolbox name 

Displays the toolbox name instead of the word toolbox.
$tide_toolbox_icon already indicates we're in a toolbox, displaying the toolbox name adds further context in multi-toolbox environments.

* Use string match and redirection

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2022-09-19 13:53:20 -07:00
Ilan Cosman
6833806ba2 v5.5.1 2022-09-14 20:58:22 -04:00
Ilan Cosman
22c230c99e Fix parent dir bugs (#346), pwd bugs, add regression tests 2022-09-14 20:50:12 -04:00
Ilan Cosman
98b087a271 Minor edits to cmd_duration 2022-09-11 20:35:17 -04:00
Ilan Cosman
740e75edc1 v5.5 2022-09-05 14:36:08 -04:00
Ilan Cosman
b508a7f52b Add tide_context_hostname_parts 2022-09-05 14:07:29 -04:00
Ilan Cosman
2613a44891 Add _tide_parent_dirs to one line fish prompt 2022-09-05 12:57:40 -04:00
Ilan Cosman
8ed6dd3ee2 Merge branch 'find-in-parent-dirs' 2022-08-27 16:19:49 -04:00
Ilan Cosman
ae7aa9bb47 Truncate the beginning of branch names, not the end 2022-08-22 06:50:13 -04:00
Ilan Cosman
3668589799 Escape PATH when passing to subshell (#330) 2022-08-18 12:23:59 -04:00
Ilan Cosman
694487b9da Quote PATH when passing to subshell (fixes #329) 2022-08-18 09:11:44 -04:00
Ilan Cosman
a86dc04fda Pass PATH to the subshell (#303) 2022-08-06 19:58:00 -04:00
Ilan Cosman
7aababe7de Look for special files in all parent directories 2022-08-06 18:19: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
d9e21b1bdf v5.4.0 2022-07-29 17:57:24 -04:00
Ilan Cosman
6906f7ece2 Use EUID to detect superuser 2022-07-29 17:49:47 -04:00
Ilan Cosman
132dff77da Use path command in pwd 2022-07-29 17:39:08 -04:00
Ilan Cosman
50d7e5a990 Git isn't required for Tide anymore 2022-06-23 11:38:28 -07:00
Ilan Cosman
7c6800ee96 Check for problems when installing 2022-06-23 11:32:53 -07:00
Ilan Cosman
fd6c1b0b90 Fix right prompt being mangled by icons in config menu 2022-06-16 09:38:00 -07:00
Ilan Cosman
21b8b33243 Remove restart option from first config menu 2022-06-15 15:25:13 -07:00
Ilan Cosman
4e0d4ab350 Shorten variable names 2022-06-14 08:52:27 -07:00
Ilan Cosman
104fb1479a Update 16 color configs for vi mode changes 2022-06-14 07:11:12 -07:00
Ilan Cosman
9e534af201 vi mode updates 2022-06-12 15:52:27 -07:00
Ilan Cosman
defabdd772 Shorten already-useless variable names 2022-05-30 10:34:53 -07:00
Ilan Cosman
844ebb6ee7 Use set -q instead of count and substitution 2022-05-30 09:43:30 -07: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
2b6a547330 Minor edits to java item 2022-05-16 07:56:57 -07:00
Ilan Cosman
5a4af0e812 Make wizard reflect new pwd highlighting 2022-05-12 18:29:28 -07:00
Ilan Cosman
ca38e563a0 Fix coloring bug 2022-05-06 17:34:16 -07:00
Ilan Cosman
bb50c9ecfa Cut out intermediate icon variable 2022-05-06 13:43:22 -07:00
Ilan Cosman
d5cc473304 Don't anchor the first directory 2022-05-06 13:33:32 -07:00
Ilan Cosman
32e4b8dcf8 v5.3.0 2022-05-02 10:43:14 -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
Jose Riha
d2c8185874
Add Windows logo (for Cygwin) (#295) 2022-04-26 06:58:03 -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
Ilan Cosman
99c82b5b86 Minor edits to bug-report 2022-04-22 13:02:26 -07:00
Jose Riha
bdcc8e3e30 Add RHEL icon (#288) 2022-04-22 13:02:26 -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
6e10b89fc0 Bring back is-inside-git-dir (fixes #290) 2022-04-22 07:59:11 -07:00
Ilan Cosman
fd7f542fe3 v5.2.2 2022-04-12 14:40:40 -07:00
Ilan Cosman
a01b303c48 Actually fix #277 2022-04-12 14:33:49 -07:00
Ilan Cosman
ad875b27cd v5.2.1 2022-04-10 14:04:35 -07:00
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