dotnet / dotnet/command-line-api

Completion script gives me a syntactic error

Open
#2,290 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

When using _source_ command for adding **dotnet-suggest-shim** to bash, I get the following error:

`$: source .bashrc
bash: /home/Weinman/.dotnet-suggest-shim.bash: línea 1: error sintáctico cerca del elemento inesperado `$'\r''
'ash: /home/Weinman/.dotnet-suggest-shim.bash: línea 1: `_dotnet_bash_complete() `

This happens after having followed the instructions [here](https://github.com/dotnet/command-line-api/blob/main/docs/dotnet-suggest.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.