Commit Graph

249 Commits

Author SHA1 Message Date
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
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