gitterminal
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| gitterminal [2021/05/04 08:25] – создано chifek | gitterminal [2023/09/14 06:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | '' | + | < |
| + | |||
| + | |||
| + | function parse_git_branch { | ||
| git branch --no-color 2> /dev/null | sed -e '/ | git branch --no-color 2> /dev/null | sed -e '/ | ||
| } | } | ||
| Line 16: | Line 19: | ||
| export PS1=" | export PS1=" | ||
| } | } | ||
| - | prompt'' | + | prompt |
| + | |||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Добавить все это в bashrc | ||
gitterminal.1620116715.txt.gz · Last modified: 2023/09/14 06:06 (external edit)