Commit Graph

391 Commits

Author SHA1 Message Date
Ilan Cosman
24f28759be Dont show prompt connectionc color menu when using 16 color 2021-01-26 16:08:22 -08:00
Ilan Cosman
ecf6f786b4 Add lean_16color config 2021-01-26 16:06:47 -08:00
Ilan Cosman
1bcd41d026 Remove _tide_true_color in favor of full configs for each style 2021-01-26 16:04:20 -08:00
Ilan Cosman
21d31bb8a9 Move tests directory into root of repository 2021-01-26 15:45:00 -08:00
Ilan Cosman
972346fd7e Use --quiet instead of 2>/dev/null 2021-01-26 12:21:11 -08:00
Ilan Cosman
2a93f4cca5 Remove seq, should fix macOS root dir bug 2021-01-25 21:48:34 -08:00
Ilan Cosman
34d19fbb58 Switch to littlecheck 2021-01-25 17:34:15 -08:00
Ilan Cosman
39e1bd1e83 Remove tide test 2021-01-25 11:22:28 -08:00
Ilan Cosman
13f03a47a7 Remove CI specific tests 2021-01-25 11:01:44 -08:00
Ilan Cosman
78f3b840c0 Add classic_16color config 2021-01-25 09:08:20 -08:00
Ilan Cosman
b5cfffb342 Refactor pwd item a bit 2021-01-25 07:31:21 -08:00
Ilan Cosman
09a610d08c Simplify variable handling 2021-01-25 07:13:06 -08:00
Ilan Cosman
2d2c6a577d Minor edits 2021-01-25 06:51:46 -08:00
Ilan Cosman
12da651992 Fix git error when in repository with no commits 2021-01-24 14:44:05 -08:00
Ilan Cosman
8b5a815cb8 Fix 16 colors for classic 2021-01-24 09:42:46 -08:00
Ilan Cosman
0ef06d1b72 Add prompt colors menu 2021-01-24 09:12:30 -08:00
Ilan Cosman
ca11b789ef Add tide_true_color 2021-01-22 20:44:57 -08:00
Ilan Cosman
3bc8f52d58 Fix quit bug in wizard 2021-01-22 17:28:48 -08:00
Ilan Cosman
baa87d77b4 Fix errors in rainbow config 2021-01-22 17:02:55 -08:00
Ilan Cosman
443a3ddf7a Unify prompt connection menus 2021-01-22 16:35:14 -08:00
Ilan Cosman
bad52f9dbb Simplify menus code 2021-01-22 16:31:31 -08:00
Ilan Cosman
8554ab3145 Remove tide test install flag 2021-01-22 16:09:36 -08:00
Ilan Cosman
b7fcafbe85 Merge main into v4 2021-01-22 15:52:00 -08:00
Ilan Cosman
b7980bf4b8 Remove remnants of git_prompt 2021-01-21 16:52:02 -08:00
Ilan Cosman
36a4ede37e Update configs for new git 2021-01-21 16:48:13 -08:00
Ilan Cosman
189cf1c967 Minor edits 2021-01-20 14:04:02 -08:00
Ilan Cosman
67f19640e0 Fix pwd when in root dir (fixes #80) 2021-01-20 12:29:42 -08:00
Ilan Cosman
e93f86267d Remove pure style 2021-01-19 16:09:16 -08:00
Ilan Cosman
8752bb5ce1 Remove defunct git stuff 2021-01-17 11:33:05 -08:00
Ilan Cosman
3a85689517 Remove _tide_git_prompt_set_vars 2021-01-17 11:23:58 -08:00
Ilan Cosman
934526beb6 Add git item, fix basic things 2021-01-17 11:22:02 -08:00
Ilan Cosman
455a2f759c Merge git_prompt repo 2021-01-17 11:17:29 -08:00
Ilan Cosman
328b12186e Minor edits 2021-01-16 17:17:18 -08:00
Ilan Cosman
72a28d0485 Rename unmerged to conflicted 2021-01-16 17:14:21 -08:00
Ilan Cosman
170df9bf14 Add colors 2021-01-16 16:50:50 -08:00
Ilan Cosman
aa55231eae Add operations 2021-01-16 15:15:33 -08:00
Ilan Cosman
defc649b43 Add unmerged 2021-01-16 14:39:10 -08:00
Ilan Cosman
139545f976 Calculate staged vs dirty 2021-01-16 13:06:14 -08:00
Ilan Cosman
8d1c92d9b0 Rename variables 2021-01-16 10:40:00 -08:00
Ilan Cosman
be8720536f Add stash count 2021-01-16 10:23:30 -08:00
Ilan Cosman
0632655297 Add upstream ahead/behind 2021-01-16 10:11:47 -08:00
Ilan Cosman
bdc1a6448f Initial commit 2021-01-16 09:49:48 -08:00
Ilan Cosman
f3b4e6aa98 Remove git from tide_pwd_anchors, left there by mistake 2021-01-15 20:13:28 -08:00
Ilan Cosman
18c687b2d6 Simplify pwd item, remove pwd_max_dirs 2021-01-15 20:08:33 -08:00
Ilan Cosman
306a918dd9 Fix spaces in pwd bug (fixes #74) 2021-01-15 17:33:49 -08:00
Ilan Cosman
e0aca078fb Replace @mesg with @echo 2021-01-12 20:12:55 -08:00
Jorge Bucaran
bee67c6c4a
Use Fishtape instead of Spout (#70)
* Use Fishtape

* Capitalize

* Don't capitalize link

* Don't invalidate rust test
2021-01-12 19:58:48 -08:00
Ilan Cosman
bd44ff6206 v3.2.0 2021-01-12 16:03:31 -08:00
Ilan Cosman
010ff2ddea Merge pwd 2021-01-12 15:52:29 -08:00
Ilan Cosman
d6a2271cd3 Fix color bug in pwd 2021-01-11 16:23:35 -08:00
Ilan Cosman
9ceba3d423 Don't error if file doesn't have the specified key 2021-01-10 09:10:04 -08:00
Ilan Cosman
e555aad9e0 New pwd logic with markers 2021-01-10 08:56:46 -08:00
Ilan Cosman
4129099cd2 Ensure prompt variables are erased after uninstall (fixes #69) 2021-01-05 18:07:56 -08:00
Ilan Cosman
aa40c45862 Update async gif 2021-01-04 15:16:47 -08:00
Ilan Cosman
46035b236c Close stdout in background process 2021-01-03 16:09:08 -08:00
Ilan Cosman
00a3fc3365 Fix shortening one letter directories (fixes #67) 2021-01-03 08:32:22 -08:00
Ilan Cosman
302bfe1747 Fix _tide_decolor for linux and tmux TERMs (fixes #66) 2021-01-02 20:16:03 -08:00
Ilan Cosman
7f55deaf8e v3.1.0 2020-12-31 21:21:10 -08:00
Varun Madiath
95b0d7802b
Allow for installation into non-standard locations (#65)
* Allow for installation into non-standard locations

This is useful when installed via fisher, if the user has set up
$fisher_path to be something other than ~/.config/fish

* Use simpler regex

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2020-12-31 21:07:13 -08:00
Peng Guanwen
fb22b3bec9
Set color to normal at end of prompt (#63)
* Set color to normal at end of prompt char

* move `set_color normal` to _tide_prompt
2020-12-31 20:14:55 -08:00
Ilan Cosman
1bcfe317e4 Fix minor bug after completing configuration wizard 2020-12-28 13:56:55 -08:00
Ilan Cosman
0a33c9cc0b Minor edits to finish function 2020-12-28 09:52:08 -08:00
Ilan Cosman
5e2d749cb6 Revert Keep choice prompt on one line always 2020-12-28 09:26:30 -08:00
Ilan Cosman
61f1795a54 Update configuration wizard left and right prompts 2020-12-28 08:06:50 -08:00
Ilan Cosman
1c663db346 Minor edits to configuration wizard 2020-12-28 07:42:00 -08:00
Ilan Cosman
f48c21733c Fix menu bug 2020-12-27 21:46:22 -08:00
Ilan Cosman
d371313635 Keep choice prompt on one line always 2020-12-27 21:17:34 -08:00
Ilan Cosman
d60b593e6f Simplify configuration menus 2020-12-27 21:12:30 -08:00
Ilan Cosman
09b042acc5 Minor edits 2020-12-26 08:42:21 -08:00
Ilan Cosman
f0ca701538 Replace _tide_last_status with _tide_last_pipestatus[-1] 2020-12-25 16:54:24 -08:00
Ilan Cosman
bf0d7a76b7 Minor edits 2020-12-25 16:32:03 -08:00
Ilan Cosman
a773f703cf Also refresh prompt on right prompt var change (fixes #59) 2020-12-23 14:15:36 -08:00
Ilan Cosman
b4aa00ac43 Remove _tide_on_fish_cancel 2020-12-23 11:04:39 -08:00
Ilan Cosman
d1b2806977 v3.0.0 2020-12-22 19:58:44 -08:00
Ilan Cosman
33e56fb899 Replace basename with pure fish 2020-12-17 21:12:54 -08:00
Ilan Cosman
aaf4386dc7 Simplify nvm item, everyone is using nvm current now 2020-12-17 20:53:47 -08:00
Ilan Cosman
c577cbee9d Change repaint to force-repaint, fixes vi mode 2020-12-17 15:31:52 -08:00
Ilan Cosman
6ab2fc103c Accurately redraw the prompt when the line is cancelled (fixes #53) 2020-12-13 09:32:20 -08:00
Ilan Cosman
730a65f26c Bring back classic_prompt_separators 2020-12-10 09:04:59 -08:00
Ilan Cosman
f541c22ed8 Minor performance improvement 2020-12-07 15:15:29 -08:00
Ilan Cosman
2dc7a976c5 Unify configuration show_time menus 2020-12-01 16:10:31 -08:00
Ilan Cosman
fe87411239 Group powerline choices together 2020-11-28 12:19:58 -08:00
Ilan Cosman
6a3ae454ec Erase async vars after exiting wizard 2020-11-28 11:43:44 -08:00
Ilan Cosman
3f6945b148 Print left prompt suffix when only one line 2020-11-28 11:26:57 -08:00
Ilan Cosman
3874f285a2 Make version number not a universal variable 2020-11-27 09:55:45 -08:00
Ilan Cosman
1f51788879 Set fish_term24bit, fixes git color issues 2020-11-27 08:12:14 -08:00
Ilan Cosman
fa8fad2faa Update jobs test 2020-11-26 18:19:34 -08:00
Ilan Cosman
282b947d13 SSH_TTY is automatically exported 2020-11-26 13:29:30 -08:00
Ilan Cosman
895d617409 Fix vi-related items 2020-11-25 11:57:45 -08:00
Ilan Cosman
7b25cc7b4c Fix jobs item 2020-11-25 11:54:17 -08:00
Ilan Cosman
7747a257a3 Fix bugs/performance improvements 2020-11-25 09:41:40 -08:00
Ilan Cosman
f6262a2e28 Set variables in background job 2020-11-25 09:22:35 -08:00
Ilan Cosman
85712feeaa Disown async job 2020-11-24 22:24:49 -08:00
Ilan Cosman
dc18cfced2 Kill old async processes 2020-11-24 22:13:05 -08:00
Ilan Cosman
f49f6dff4b Minor edits 2020-11-24 20:54:49 -08:00
Ilan Cosman
0927a23d3e Bring back set_color normal to fix bug 2020-11-24 20:44:42 -08:00
Ilan Cosman
276660bf2b Simplify _tide_right_prompt 2020-11-24 20:41:24 -08:00
Ilan Cosman
6015512d8e Fix right prompt bug 2020-11-24 20:22:21 -08:00
Ilan Cosman
0122bdc62b Simplify _tide_left_prompt 2020-11-24 20:20:39 -08:00
Ilan Cosman
09784a9a02 Prevent seperate fish instances from interfering with each other 2020-11-24 19:30:59 -08:00
Ilan Cosman
c794140008 Clear prompt before printing 2020-11-24 16:39:25 -08:00
Ilan Cosman
d4bc14578b Slim down tide test help message 2020-11-24 14:44:46 -08:00
Ilan Cosman
5ec4a8bf4c Convert simple if statements to && and || 2020-11-24 14:39:56 -08:00
Ilan Cosman
7418055eb5 Minor edits 2020-11-24 14:30:45 -08:00
Ilan Cosman
1d4861deb8 Fix status bug 2020-11-24 14:24:36 -08:00
Ilan Cosman
c98fc8646c Fix various issues 2020-11-24 14:21:22 -08:00
Ilan Cosman
3f7ed96687 Fix tests 2020-11-24 12:59:30 -08:00
Ilan Cosman
41644062c4 Use status is-interactive instead of own variable 2020-11-24 12:43:48 -08:00
Ilan Cosman
5bd71efa45 More work on async 2020-11-23 14:56:52 -08:00
Ilan Cosman
829f886a47 Start work on async 2020-11-20 14:04:04 -08:00
Ilan Cosman
81726dce16 Simplify tide help message code 2020-11-20 13:51:18 -08:00
Ilan Cosman
b3990ad241 Set _tide_fish_right_prompt_display to truly empty (fixes #48) 2020-11-20 08:32:12 -08:00
Ilan Cosman
b1fd36a348 Add _find_and_remove function 2020-11-19 16:23:54 -08:00
Ilan Cosman
dce2c2364c Add icons menu 2020-11-19 16:12:13 -08:00
Ilan Cosman
2d12f7c8c8 Add tide_cmd_duration_icon 2020-11-19 15:58:49 -08:00
Ilan Cosman
1d78c51982 Add virtual_env item to pure style (fixes #46) 2020-11-12 07:26:06 -08:00
Jorge Bucaran
92a345916b
Move fish_right_prompt to fish_right_prompt.fish (#45)
* Remove fish_right_prompt from wrong file

* Create fish_right_prompt.fish
2020-11-11 08:46:28 -08:00
Ilan Cosman
207ddcf772 Switch to fisher 2020-11-04 11:05:41 -08:00
Ilan Cosman
fe1ff0ab9e Minor edits 2020-11-03 11:25:50 -08:00
Ilan Cosman
ec319f1739 Merge scuba branch 2020-10-26 16:51:07 -07:00
Michael Bryant
8f796136b5
use mktemp instead of explicitly named files (#41)
* add mktemp instead of explicitly named files

* use mktemp -u flag to fix bugs

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2020-10-23 17:10:31 -07:00
Michael Bryant
f6cf2770e1
Prevent error messages while detecting OS (#40)
* add test for file existence to avoid errors
2020-10-23 15:07:41 -07:00
Ilan Cosman
a5d48b180b Minor edits 2020-10-16 15:45:40 -07:00
Ilan Cosman
46d8d7e519 Update tide completions 2020-10-15 15:35:09 -07:00
Ilan Cosman
9fc1b32f1a Add uninstall event handler 2020-10-15 15:15:17 -07:00
Ilan Cosman
3858228776 Switch to scuba 2020-10-12 15:05:51 -07:00
Ilan Cosman
9bfcbec6f3 Minor edits to uninstall 2020-10-02 16:08:47 -07:00
Ilan Cosman
f0a809f2a0 Simplify uninstall 2020-10-02 16:03:38 -07:00
Ilan Cosman
3f2ab29d28 Use builtin functions instead of head for uninstalling fish_prompt 2020-10-02 15:59:21 -07:00
Ilan Cosman
94a1b4cca6 Minor edits 2020-09-27 10:27:16 -07:00
Ilan Cosman
207d009c5e Add mock to tide test --install 2020-09-23 16:45:37 -07:00
Ilan Cosman
549080c455 Minor edits 2020-09-23 13:56:08 -07:00
Ilan Cosman
8d5a2a717c Slim down detect_os 2020-09-23 13:48:55 -07:00
Ilan Cosman
70a3eaf3d7 Fix bug when pwd started with / (fixes #25) 2020-09-21 17:20:30 -07:00
Ilan Cosman
79ed026a7c Combine string replaces in _tide_decolor, reformat vi_mode item 2020-09-21 11:21:23 -07:00
Ilan Cosman
2da3780ac7 Add vi_mode item, add prompt_char_vi variables 2020-09-19 19:30:12 -07:00
Ilan Cosman
6a74370086 Switch from fishtape to spout 2020-09-12 22:46:32 -07:00
Ilan Cosman
2d86c98542 Minor edits 2020-09-11 22:15:25 -07:00
Ilan Cosman
318bfeca54 Add support for lsb-release in detect_os (fixes #24) 2020-09-11 16:47:27 -07:00
Ilan Cosman
2a57609442 Minor optimizations 2020-09-08 08:13:15 -07:00
Ilan Cosman
7f0fdbc15f Undo broken optimization 2020-09-08 07:53:53 -07:00
Ilan Cosman
65dd379f3c Minor optimizations 2020-09-08 07:43:51 -07:00
Ilan Cosman
43469e4be8 Reorder nvm item 2020-09-08 07:29:24 -07:00
Ilan Cosman
81cfe19b0f Replace which with command --search 2020-09-07 19:53:12 -07:00
Ilan Cosman
edb8b28468 Minor edits 2020-09-07 12:00:54 -07:00
Ilan Cosman
5b3c25ffd8 Fix head options for MacOS 2020-09-07 11:41:18 -07:00
Ilan Cosman
1f617dd61e Remove unnecessary brackets 2020-09-06 21:34:58 -07:00
Ilan Cosman
e9baf3a1fc
Merge pull request #23 from xolve/nvmDisplay
Add nvm item
2020-09-06 21:30:51 -07:00
Ilan Cosman
3c4d8e1465 Add NVM_DIR to install, minor edits to nvm item 2020-09-06 21:26:19 -07:00
Ilan Cosman
ae4a33e719 nvm item revision 2020-09-06 18:10:10 -07:00