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

[Bug] GRASS shell in nix develop lacks completion and navigation #4628

Open
wenzeslaus opened this issue Nov 1, 2024 · 0 comments
Open

[Bug] GRASS shell in nix develop lacks completion and navigation #4628

wenzeslaus opened this issue Nov 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wenzeslaus
Copy link
Member

Describe the bug

nix develop creates and environment with its own shell - Bash. I don't see any issues with that one. However, starting GRASS GIS with a shell, e.g., grass --text, gives partially broken version of that shell. It is the same shell (whatever is in $SHELL, so /nix/store/.../bin/bash), but this is the behavior I get:

  • Arrows don't move, but produce ^[[A^[[C^[[B^[[D. Same for Home etc.
  • Tab writes tab, but does not auto-complete.
  • Search with Ctrl+R does not work, ^R is produced instead.

To reproduce

nix develop
app/bin/grass --text --tmp-project XY

Expected behavior

Same behavior as the shell in nix develop and GRASS shell without nix.

System description

  • Operating System: Pop!_OS 22.04 LTS (jammy)
  • Our nix environment
  • GRASS GIS version: main branch
  • GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu) (from /nix/store)
@wenzeslaus wenzeslaus added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant