Commit Graph

249 Commits

Author SHA1 Message Date
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
Xolve
fa23a38efc Add nvm display to prompt. 2020-09-06 23:53:47 +05:30
Ilan Cosman
24df67cd51 Add "; or echo" to every command substitution set_color 2020-09-05 14:48:27 -07:00
Ilan Cosman
7df5bed470 Add verbose flag to bug-report to make it more useful 2020-09-03 11:49:37 -07:00
Ilan Cosman
c756f4a681 Combin all pwd functions 2020-08-29 15:38:18 -07:00
Ilan Cosman
c2a4b4815e Add home and dir pwd icons 2020-08-29 12:13:36 -07:00
Ilan Cosman
4e29546667 Add number of jobs option (closes #5) 2020-08-24 17:20:45 -07:00
Ilan Cosman
581013beff Speed up rust item, type is slow, command is fast 2020-08-24 16:56:02 -07:00
Ilan Cosman
4c0e3205a1 Fix rust item 2020-08-20 08:44:50 -07:00
Ilan Cosman
650d3e6988 Add rust item, fix os item and configs 2020-08-19 10:35:04 -07:00
Ilan Cosman
28caddfb6e Document CI flag 2020-08-12 10:44:44 -07:00
Ilan Cosman
2d88b8ad58 Add CI flag to tests 2020-08-11 09:57:49 -07:00
Ilan Cosman
7e2b7cbca3 Fix tests for macos 2020-08-11 09:04:41 -07:00
Ilan Cosman
429625f979 Add context always_display option 2020-08-10 09:06:33 -07:00
Ilan Cosman
562a1aa9ee Refactor _tide_detect_os slightly 2020-08-08 14:20:42 -07:00
Ilan Cosman
99b44ebc02 Add tide_os_use_nearest, add os to configs 2020-07-29 20:37:18 -07:00
Ilan Cosman
a6d5eee879 Fallback to ID_LIKE if ID is unknown 2020-07-29 20:37:02 -07:00
Ilan Cosman
490b605ea3 Add detect_os and item_os 2020-07-29 20:36:57 -07:00
Ilan Cosman
eb400f55b0 Fix typo 2020-07-26 23:48:27 -07:00
Ilan Cosman
60060acc79 Change basename --suffix= to -s for macos compatability 2020-07-26 23:39:18 -07:00
Ilan Cosman
5fe7644620 Fallback bg colors to normal 2020-07-25 18:11:04 -07:00
Ilan Cosman
4d63841b4a Minor edits 2020-07-23 11:33:51 -07:00
Ilan Cosman
790029e004 Renovate tide help command 2020-07-23 10:57:40 -07:00
Ilan Cosman
295933d579 Rename some variables, minor edits 2020-07-23 09:12:08 -07:00
Ilan Cosman
46abf0472d Exchange short flags for long ones 2020-07-20 14:11:59 -07:00
Ilan Cosman
8d356d0d49 Add event blockers to wizard finish, prevents errors 2020-07-20 13:15:19 -07:00
Ilan Cosman
8c4dd87322 Add code conventions to contributing guide and update code to conform 2020-07-19 13:35:19 -07:00
Ilan Cosman
8b208bc130 Minor edits 2020-07-16 20:21:09 -07:00
Ilan Cosman
09c7f10cda Set tide_status_alway_display_icon if no prompt_char 2020-07-16 13:51:42 -07:00
Ilan Cosman
e9055703e9 Automate configuration menu options 2020-07-14 19:10:59 -07:00
Ilan Cosman
d6b4cc78c1 Move tide subcommands into functions folder 2020-07-14 18:30:58 -07:00
Ilan Cosman
914c6bc7c6 Remove uninstall from tide completions 2020-07-13 21:07:11 -07:00
Ilan Cosman
833d34917e Move tests into tide_theme folder, make tide_test a tide subcommand 2020-07-11 20:59:30 -07:00
Ilan Cosman
c0bfa1858b Update tests and functions 2020-07-11 16:45:23 -07:00
Ilan Cosman
69356d4a15 Update pwd test 2020-07-10 19:25:02 -07:00
Ilan Cosman
bb129150f8 Remove basename in virtual_env item 2020-07-09 17:34:15 -07:00
Ilan Cosman
11263702a2 Fix status spacing with no icon 2020-07-08 19:01:37 -07:00
Ilan Cosman
54b18da465 Update status unit test 2020-07-08 18:37:47 -07:00
Ilan Cosman
33e91ef45a Add rainbow configuration menus 2020-07-08 09:58:39 -07:00
Ilan Cosman
fbe3a8dd23 Lots of work on classic configuration 2020-07-07 15:55:11 -07:00
Ilan Cosman
462972dfac Move conf.d files to functions directory 2020-07-06 09:40:46 -07:00
Ilan Cosman
5c36bea01e Fix right prompt 2020-07-05 11:34:01 -07:00
Ilan Cosman
e168d48388 Fix right prompt frame 2020-07-04 19:14:21 -07:00
Ilan Cosman
0940198cc9 Add left prompt suffix 2020-07-04 14:01:56 -07:00
Ilan Cosman
a7564fac27 Add tide_status_always_display_icon 2020-07-04 14:01:56 -07:00
Ilan Cosman
7b97aa96a8 Right frame now always mirrors left frame 2020-07-04 14:01:56 -07:00
Ilan Cosman
db1a859bed Update tests 2020-07-04 14:01:56 -07:00
Ilan Cosman
32dd3efe5e Fix left frame bug 2020-07-04 14:01:56 -07:00
Ilan Cosman
189638cb46 Add right prompt frame 2020-07-04 14:01:56 -07:00
Ilan Cosman
3a75a22aff Add left prompt frame 2020-07-04 14:01:56 -07:00
Ilan Cosman
b46514cabc Update virtual_env item/vars for powerline 2020-07-04 14:01:56 -07:00
Ilan Cosman
b4e2efe5c6 Update lean config 2020-07-04 14:01:56 -07:00
Ilan Cosman
8fedb75468 Add suffix to right prompt 2020-07-04 14:01:56 -07:00
Ilan Cosman
c49dacfd5a Right prompt powerline works 2020-07-04 14:01:56 -07:00
Ilan Cosman
c9f6939192 Separator will not display after prompt_char 2020-07-04 14:01:56 -07:00
Ilan Cosman
a85d4cd6d1 Add left_prompt_prefix 2020-07-04 14:01:56 -07:00
Ilan Cosman
b5a26cb265 Lots of work on left prompt 2020-07-04 14:01:56 -07:00
Ilan Cosman
d5cf25d044 Add virtual_env item (#9) 2020-06-28 11:44:40 -07:00
Ilan Cosman
3be937b287 Minor edits 2020-06-10 09:18:15 -07:00
Ilan Cosman
9b8404bfb7 Add $_tide_color_normal var for speed 2020-06-07 20:14:15 -07:00
Ilan Cosman
45dfdd62d8 Add version flag to tide command 2020-06-06 17:51:24 -07:00
Ilan Cosman
077cfc2682 Rename variables for consistency 2020-06-06 11:57:43 -07:00
Ilan Cosman
88e0f3b9df Optimize pwd 2020-06-06 10:40:14 -07:00
Ilan Cosman
370871727f Fix first anchor bug 2020-06-05 19:18:15 -07:00
Ilan Cosman
6a957bd12a Rename vars 2020-06-05 18:47:02 -07:00
Ilan Cosman
c34beb85e7 Fix first dir color bug 2020-06-05 09:15:52 -07:00
Ilan Cosman
eb8e185636 Add anchor customization 2020-06-04 22:50:46 -07:00
Ilan Cosman
70e431d66b Remove double-checking of git repo 2020-05-28 14:27:53 -07:00
IlanCosman
7563db5de5 Convert nested functions to pipes, minor edits 2020-05-27 12:11:22 -07:00
IlanCosman
3b3c10d05e pwd now detects and anchors git repo 2020-05-26 16:20:42 -07:00
IlanCosman
db04ce2dbd $hostname instead of prompt_hostname 2020-05-25 21:23:13 -07:00
IlanCosman
a89fa71045 tide configure now also resets fish_prompt to default 2020-05-24 15:59:37 -07:00
IlanCosman
643bce7687 Add tide completions 2020-05-24 15:37:09 -07:00
Ilan Cosman
a21c438a20 Use fish_git_prompt %s trick instead of string replace 2020-05-23 10:27:46 -07:00
Ilan Cosman
2d366375e8 Rename configure files 2020-05-22 12:46:05 -07:00
Ilan Cosman
a5780a6b87 Add a second letter to truncation if first is . 2020-05-22 10:24:12 -07:00
Ilan Cosman
256c24e895 Allow for large truncate margin 2020-05-21 15:05:11 -07:00
Ilan Cosman
0d7f5a9709 Rename variables 2020-05-20 10:39:44 -07:00
Ilan Cosman
78110a8cfb Rename functions 2020-05-20 10:05:33 -07:00
Ilan Cosman
609ac07b04 More work on README 2020-05-20 09:16:02 -07:00
Ilan Cosman
73c8875c4b Add color customization to tide_pwd 2020-05-19 11:25:17 -07:00
Ilan Cosman
77bdd13b35 Allow customizing prompt_char 2020-05-19 11:01:01 -07:00
Ilan Cosman
1b2fcb7f42 Rename to tide 2020-05-18 20:03:25 -07:00
Ilan Cosman
a35fc7311c Specify printfs 2020-05-18 10:06:02 -07:00
Ilan Cosman
9793e8feb7 Fix one-line prompt bug 2020-05-18 09:44:33 -07:00
Ilan Cosman
fce619f246 Fix some multi-line prompt bugs 2020-05-18 09:04:47 -07:00
Ilan Cosman
6fba067de2 Start converting echo to printf 2020-05-17 13:47:53 -07:00
Ilan Cosman
a945195093 Small performance improvements 2020-05-17 10:14:03 -07:00
Ilan Cosman
8d37ae4522 Imrpove local_install 2020-05-17 10:01:17 -07:00
Ilan Cosman
a028be08b2 Minor edits 2020-05-16 21:50:36 -07:00
Ilan Cosman
1c286fc473 Fixed git_prompt bug, thank god 2020-05-16 21:43:27 -07:00
Ilan Cosman
53ed6c2883 Fix install 2020-05-15 16:06:01 -07:00
Ilan Cosman
ab1d200513 Multi-line right prompt 2020-05-14 21:53:37 -07:00
Ilan Cosman
8ad87ed74a Update tests, fix cmd_duration, fix right_prompt 2020-05-13 15:25:02 -07:00
Ilan Cosman
9b3ec5eabe Generalize prompt items, add left_prompt 2020-05-13 12:46:42 -07:00
Ilan Cosman
a54a3dead5 Add lots of tests 2020-05-08 22:48:35 -07:00
Ilan Cosman
41ee1233bf Switch to lean_decolor 2020-05-08 15:32:58 -07:00
Ilan Cosman
31fd9d8f85 Add minutes and hours to cmd_duration 2020-05-06 12:15:45 -07:00
Ilan Cosman
38c69a2558 Add dev files and test_pwd 2020-05-04 14:22:08 -07:00
Ilan Cosman
6c6f840ec2 Minor edits 2020-05-04 08:24:09 -07:00
Ilan Cosman
c85881961b Convert to meta/sub commands 2020-05-03 21:41:08 -07:00
Ilan Cosman
5f5a18b91d Colorize truncated dirs 2020-05-01 20:25:59 -07:00
Ilan Cosman
be781a786f Overhaul _shorten_pwd 2020-04-30 20:46:02 -07:00
Ilan Cosman
67b83a555a Add missing _lean_time function. Remove eval for speed 2020-04-30 16:30:23 -07:00
Ilan Cosman
049ade1e5d Minor edits 2020-04-29 19:19:17 -07:00
Ilan Cosman
efeadfbc90 Add time item, rename timer to cmd_duration 2020-04-29 17:06:11 -07:00
Ilan Cosman
ebd830b6d7 Switch pure strings to 2020-04-29 14:52:58 -07:00
Ilan Cosman
e68ee51173 Add status item 2020-04-29 12:32:59 -07:00
Ilan Cosman
ad5f0e0e32 Create LICENSE 2020-04-29 09:53:39 -07:00
Ilan Cosman
0dd773f302 Add background jobs right prompt item. Rename variables 2020-04-28 21:19:32 -07:00
Ilan Cosman
3caf26473e Add bold flag option to right prompt item colors 2020-04-28 15:43:22 -07:00
Ilan Cosman
8d562823fb Add lock icon to PWD. Add root detection to context. 2020-04-28 13:46:40 -07:00
Ilan Cosman
fb9b5459bf Remove exit after lean_uninstall 2020-04-27 16:38:17 -07:00
Ilan Cosman
275f06957a Remove fish_right_prompt from 1Line fake_prompt 2020-04-27 16:12:12 -07:00
Ilan Cosman
96e836100c Replace module with item 2020-04-27 15:37:08 -07:00
Ilan Cosman
7926ed2a7b Minor edits 2020-04-27 15:10:59 -07:00
Ilan Cosman
afbd202cbd Dont add newlines in wizard if less than 26 lines tall 2020-04-25 17:27:06 -07:00
Ilan Cosman
75441062c7 Increase uninstall specificity, protect user files 2020-04-25 14:52:39 -07:00
Ilan Cosman
54c6d7a0d3 Fix install colors. Use brace expansion in uninstall 2020-04-25 13:32:44 -07:00
Ilan Cosman
0ef05d9a9d Add true module support 2020-04-25 12:21:09 -07:00
Ilan Cosman
6419666798 Add ssh module 2020-04-24 21:32:21 -07:00
Ilan Cosman
bba6e423e5 Fix lean_pwd. Minor edits 2020-04-24 20:56:17 -07:00
Ilan Cosman
2861ea580e Optimize lean_pwd. Add confirmation on wizard finish 2020-04-22 15:19:58 -07:00
Ilan Cosman
fdfea51e5a Minor edits 2020-04-21 20:25:40 -07:00
Ilan Cosman
be227de5a7 Rm lean_user_ask in favor of situation specific menus 2020-04-21 20:06:05 -07:00
Ilan Cosman
dea611ca06 Fix wizard bug 2020-04-21 17:40:49 -07:00
Ilan Cosman
f9071dc3d9 Fix uninstaller and add default fish_prompt 2020-04-21 12:15:05 -07:00
Ilan Cosman
48ea32ffba Add right prompt 2020-04-21 11:52:24 -07:00
Ilan Cosman
c72a2b8447 Fix wizard 2020-04-20 20:35:56 -07:00
Ilan Cosman
3d225378b9 New prompt now appears directly after install 2020-04-20 11:12:57 -07:00
Ilan Cosman
165c8c6977 Alot of work on wizard, add prompt_modules 2020-04-20 09:38:41 -07:00
Ilan Cosman
6c39d874ba Minor edits 2020-04-16 21:31:45 -07:00
Ilan Cosman
e7d5b786d0 Rename functions with lean prefix 2020-04-16 21:20:58 -07:00
Ilan Cosman
76c9a4a447 Move all functions into seperate folder and source them 2020-04-16 01:09:07 -07:00
Ilan Cosman
ebcab5a04d Rename user_confirm to user_ask and generalize functionality 2020-04-15 14:09:59 -07:00
Ilan Cosman
3e0c70b9a4 Add user_confirm function 2020-04-14 17:52:21 -07:00
Ilan Cosman
4de13ecbb4 Minor edits 2020-04-13 12:57:21 -07:00
Ilan Cosman
149cde9954 Add confirmation dialog to lean_uninstall 2020-04-12 16:58:24 -07:00
Ilan Cosman
e3264edc27 Add lean_uninstall function 2020-04-12 15:40:49 -07:00
Ilan Cosman
16edc7f2b8 Download functions using for loop, streamline colors 2020-04-11 14:58:14 -07:00
Ilan Cosman
c8d7eecd3e Fix default prompt color 2020-04-11 10:45:49 -07:00
Ilan Cosman
3c02979438 Move theme functions into functions folder 2020-04-02 17:39:39 -07:00