Comments (3)
I'd love for Marathon to have auto completion support for all shells, I just started with zsh because that's what I use. I also went with the "generate a string in Swift" approach simply because I had a really hard time understanding how Zsh autocompletion worked, and once I got something working, I just pushed that 😅 There's definetly a lot of room for improvements, and I really welcome PRs in this area 👍
Since autocompletions are not "installed" by Marathon (for zsh it requires you to add the ~/.marathon/zsh
folder), I don't think there's any harm generating that folder even if the user doesn't currently use zsh. Having to check for the current shell just adds complication, so I'd rather avoid that.
If we for example implement autocompletion for fish, we can simply put it in a fish
folder next to the zsh
one.
What do you think @cojoj?
from marathon.
I'd introduce one more level to this called autocompltions
and inside have this distinction into different shells. Why? First of all, we don't have to pollute root directory with a couple of shell related directories. Secondly, if we decide to generate auto completions and reuse them in all shell generators - that'd be way cleaner approach.
I'll try to think about it more and come up with a PR presenting my vision 😉 So later we can decide in which direction we want to go.
from marathon.
Sure, sounds good! 👍 shouldn't be too many people using the zsh autocomplete yet either, since it hasn't been announced anywhere yet (except a note in the README), so I don't think changing the folder hierarchy is a big deal at this point.
from marathon.
Related Issues (20)
- Build into executable HOT 1
- 'make uninstall' doesn't work
- Support Swift 4.2 HOT 4
- `marathon add RecativeSwift` fails because there's no official v4 release yet HOT 1
- Script Manager Allow Remote
- "illegal hardware instruction" error message when try to edit a script
- Marathon + CLI - any ideas? HOT 1
- Swift 4.2 PM Support HOT 1
- Add package which name contains dot will break most things
- `Marathon run` causes the update of all cached Packages HOT 2
- Marathon script uses all available memory HOT 3
- Marathon only works with dependencies named the same as the Package HOT 3
- Command Line user input HOT 1
- Execution time on VM, Logging level HOT 2
- Unable to use when installing with Mint HOT 2
- URLSession dataTask does not get called HOT 1
- Unable to install using Xcode 10.2 and macOS 10.14.4 HOT 6
- Marathon install fails to find module on Linux HOT 2
- Running Marathon on macOS Catalina does not work HOT 5
- ⚠️ Heads-up: Deprecation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marathon.