A
A
Alexander2018-08-24 08:48:53
macOS
Alexander, 2018-08-24 08:48:53

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:
5b7f9b7f41518141521523.png
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

1 answer(s)
A
Artem, 2018-08-24
@ulkoart

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 question

Ask a Question

731 491 924 answers to any question