Answer the question
In order to leave comments, you need to log in
How to set up terminal.app for developer?
I found the plugin: https://draculatheme.com/terminal/
Installed it, but why doesn't it highlight folders or files in different colors, that is, everything is in the same color:
Plus, it still doesn't show the current branch in git. It seems that this plugin alone is not enough.
Developers request to share their chips/plugins/links/articles/guides/etc to upgrade your terminal.
Answer the question
In order to leave comments, you need to log in
I use iTerm2. about chips it's worth looking at zsh + ohmyzsh
if you need pure branches then
~/.bash_profile
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[email protected]\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question