Skip to content

[Feat] add missing GRASS specific terminal prompt with zsh #719

@nilason

Description

@nilason

Describe the bug
In contrast to e.g. bash, using zsh shell running GRASS doesn't change the prompt. This makes it very difficult to know first of all if GRASS is running but also which location is opened.

  • /bin/bash:
computer:~ nila$ grass79
GRASS 7.9.dev (srtm):~ >
  • /bin/zsh:
nila@computer ~ % grass79
nila@computer ~ %

Expected behavior
Zsh should have a prompt which at least indicates if GRASS is running, and possibly also location.

System description (please complete the following information):

  • Operating System: tested on macOS 10.15 (but the issue is probably independent of OS)
  • GRASS 7.9.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions