binpash / binpash/libdash

Prompt callbacks

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
52
Forks
11
Avg merge
8h 29m
Merged PRs (30d)
1

Description

libdash, by default, uses dash expansion prints the `PS1` and `PS2` in the dash prompt. This behavior is wrong (and possibly dangerous, depending on the use case).

We should make the prompt functions monkeypatchable, allowing users of the library to circumvent dash internals (beyond the alias table) entirely. In an ideal world, we could even compile just the few files necessary.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the prompt functions involved in dash expansion and how PS1 and PS2 are printed. Determine the callback boundary needed to bypass those internals, then verify that users can replace the prompt behavior and that only the necessary files can be compiled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, shell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.