Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete error with Gitbash #83

Open
kichareplies opened this issue Sep 30, 2024 · 1 comment
Open

Autocomplete error with Gitbash #83

kichareplies opened this issue Sep 30, 2024 · 1 comment
Assignees

Comments

@kichareplies
Copy link

kichareplies commented Sep 30, 2024

Using gitbash for Scalr CLI

Error 1:

While configuring autocomplete getting the following error.

masked/masked MINGW64 /c
$ scalr -autocomplete
Could not find any shell that supports the auto-complete feature.

masked/masked MINGW64 /c
$ echo $SHELL
/usr/bin/bash

The code needs to handle Gitbash as well. With appropriate directory path.

Error 2:

After adding the below to the bash profile
complete -o nospace -C /c/Users/masked/bin/scalr.exe scalr

getting the error when pressing tab just after Scalr

masked/masked MINGW64 /c
$ scalr interface conversion: interface {} is float64, not string

Additional details

masked/masked MINGW64 /c
$ bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-msys)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

masked/masked MINGW64 /c
$ scalr -version
0.15.5
@buzzy
Copy link
Contributor

buzzy commented Nov 10, 2024

We have released a the new version 0.16.2 with added support for Gitbash. Please try it and report back if it works for you. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants