Closed lohanidamodar closed 3 years ago
same error on my Arch Linux KDE
TIL there is shell called fish:)
Adding shell support is fairly easy.
I would start by copying an existing shell library such as lib/src/shell/zsh_shell.dart renaming it fish_shell.dart
Make any changes to fish_shell that are required.
Then add it to the list of supported shells in shell_detect.dart.
The library bash_shell support tab completion in conjunction with bin/dcli_complete.dart. bash is the only shell that supports tab completion at this point. You can safely ignore this as its a nice to have or have a crack at doing it for fish.
Submit a PR.
@bsutton Fish doesn't have startScript (like .zshrc or .bashrc) it uses fish config file, what do I do there?
This is used by your installer to insert path statements.
I will have a look at modifying the API to make it more flexible.
On Fri, 25 Dec 2020, 10:00 am Damodar Lohani, notifications@github.com wrote:
@bsutton https://github.com/bsutton Fish doesn't have startScript (like .zshrc or .bashrc) it uses fish config file, what do I do there?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bsutton/dcli/issues/122#issuecomment-751127627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32ODZDDREEOKSFJDWV2TSWPBYDANCNFSM4VIEERCA .
I've provided some doco on implementing a shell for dcli. https://bsutton.gitbook.io/dcli/contributing/implemention-support-for-a-shell
Is your feature request related to a problem? Please describe. Unable to use dcli with fish shell. I receive following error when i run
dcli create hello.dart
Describe the solution you'd like Looks like the fish shell is unimplemented. How can we implement fish shell