mathiasbynens / mathiasbynens/dotfiles

[BUG] Terminal was break

Open
#955 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
31.5k
Forks
8.4k
PR merge metrics
No merged PRs in 30d

Description

in your .bash_profile
i print the PS1

[\033]0;\W\007]\u@\h: \w$(get_git_repository_details " on ")\n[][]$ []

some times the terminal will be one line and not break line

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the .bash_profile prompt definition and the PS1 expression containing get_git_repository_details. Reproduce the intermittent terminal wrapping problem, then verify that the prompt consistently breaks onto separate lines without losing its displayed information.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.