mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

Home Page:https://mths.be/dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Root rights

kenplix opened this issue · comments

When we get root rights in stdout we get an incorrect display:
sh: prompt_git: command not found
I am tried increment PS1 when $USER is not root but it not work.

Problem located in .bash_prompt

@AleksandrTolstoy have you figured out how to solve the issue? I have a similar problem