denisidoro/navi

Bug when using navi in windows terminal

Opened this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I configured navi with powershell as call cmd according to the official documentation.
However there are error in runtime. After install cheatsheet I

Logs

navi
then pick>config

At line:2 char:2
+ [ -f "$f" ] || navi info
config-example > "$f"
+  ~
Missing type name after '['.
At line:2 char:13
+ [ -f "$f" ] || navi info
config-example > "$f"
+             ~~
The token '||' is not a valid statement
separator in this version.
    + CategoryInfo          : ParserErro
   r: (:) [], ParentContainsErrorRecord
  Exception
    + FullyQualifiedErrorId : MissingTyp
   ename

Versions:
latest

  • OS: Win11,native windows terminal that is in github. Not cmd

Additional context
I then setup git and then picked cheatsheet in the bottom to install it But now I cannot see the subcommand suggestion again.

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)