10 Nov 2020 |
GitHub#0000 | ad1d038 Use Bloop 1.4.5 - propensive
2a13084 Update Bloop launcher dependency - propensive | 09:03:55 |
propensive | Hi jozinek, I wanted to send you a longer response before, but I got distracted with something else... 😉 | 09:11:47 |
propensive | Anyone can publish or republish a layer (e.g. scala-new ) though it must be done under your own GitHub account, so if you make changes and publish them, they won't be propensive/scala-new . | 09:13:41 |
propensive | But I'll make those changes now. | 09:14:24 |
propensive | Actually, it's not possible to publish a layer which refers to local sources... that's a design bug I need to fix. | 09:16:20 |
propensive | But I've published the layer without the source directory, at least. | 09:17:05 |
jozinek#0918 | No problem. I just wanted to be sure the tutorial is consistent. | 09:52:11 |
propensive | Yes... me too. 😉 | 10:05:44 |
propensive | I'm in the process of updating all my documentation, and getting the propensive.com website up-to-date. | 10:15:02 |
propensive | It's been hard to manage the docs when they're in different places, so my plan is for propensive.com to use GitHub webhooks to trigger on updates to the Fury (and other) Git repositories. | 10:16:48 |
jozinek#0918 | I am still failing to see the tab completions. I installed zsh, but failed to run the /etc/zshrc file from the repo. It is probably not up to date, as I cannot find the aliases file in ~/.config/fury/ directory. Would someone please share the steps to have completion working? | 21:04:08 |
jozinek#0918 | ok, nevermind, I had to reinstall it with existing ~/.zshrc file | 21:24:54 |
propensive | It's working now? | 21:25:39 |
jozinek#0918 | yes, but I still cannot see completions for -c scala/compiler | 21:26:10 |
propensive | The installer will only install for ZSH if it finds a ~/.zshrc file or if the current shell is ZSH. | 21:26:32 |
propensive | But you can run the installer more than once without any problems, and it will install anything it chose not to install the first time, if there's a reason for it. | 21:27:06 |
jozinek#0918 | cool, I think I want to have it also for fish 😄 | 21:27:06 |
propensive | You should only see completions for compilers if there's a compiler module available. Does,
fury layer list
show a scala layer? | 21:28:04 |
propensive | I have a WIP project for unified tab completions for Bash, ZSH and Fish. | 21:28:38 |
jozinek#0918 | yep, it is the only layer | 21:28:45 |
propensive | Unfortunately the way the completions are written in Fury needs to change a bit. | 21:29:48 |
propensive | * Unfortunately the way the completions are defined in Fury needs to change a bit... | 21:30:00 |
propensive | There's some complexity because one completion can depend on an earlier parameter. | 21:30:19 |
jozinek#0918 | I see, would you need a hand with providing fish completions in a way it is done for zsh now? | 21:30:40 |
jozinek#0918 | I guess I would finally get into the fury code | 21:31:11 |
propensive | For example, if you type fury repo add -R gh:propensive/foo -B <tab> then the list of branches will be fetched for the propensive/foo project on GitHub and offered as completions. | 21:31:24 |
propensive | Yes, tab completions would be a fun thing to start on! I could show you what I've already done with Exoskeleton... | 21:32:12 |
propensive | Exoskeleton is the library that provides "out-the-box support" for any shell. | 21:32:37 |
propensive | I even set up a testing rig to imitate the keypresses involved in triggering the completions. | 21:33:05 |
jozinek#0918 | Hmm, I thought I could start here: https://github.com/propensive/fury/blob/17cd35dba6b27e8a47ca997c4089c2b7a2e16f0c/src/core/install.scala#L72 | 21:33:09 |