User Tools

Site Tools


bashrc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bashrc [2021/04/19 16:50] chifekbashrc [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 1: Line 1:
 Редактируем ~/.bashrc Редактируем ~/.bashrc
  
- +Начало скрипта:
  
  
 function parse_git_branch { function parse_git_branch {
-              git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'+    git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'
       }       }
       function prompt {       function prompt {
Line 22: Line 21:
                                                                               }                                                                               }
                                                                               prompt                                                                               prompt
 +                                                                               
 +                                                             
 +конец скрипта!
bashrc.1618851016.txt.gz · Last modified: 2023/09/14 06:06 (external edit)