User Tools

Site Tools


software:git

Differences

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

Link to this comparison view

Next revision Both sides next revision
software:git [2018/09/10 16:21]
127.0.0.1 external edit
software:git [2022/09/02 21:26]
solar [MagicMonty's Bash prompt, Mint flavour]
Line 8: Line 8:
 GIT_PROMPT_START="_LAST_COMMAND_INDICATOR_ ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[00m\]" GIT_PROMPT_START="_LAST_COMMAND_INDICATOR_ ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[00m\]"
 GIT_PROMPT_END=" $ " GIT_PROMPT_END=" $ "
 +source ~/.bash-git-prompt/gitprompt.sh
 +</file>
 +
 +===== MagicMonty's Bash prompt, Cygwin flavor =====
 +
 +The same as above, just mimicking the Cygwin default prompt:
 +
 +<file>
 +GIT_PROMPT_START="\n_LAST_COMMAND_INDICATOR_ \[\e]0;\w\a\]\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]"
 +GIT_PROMPT_END=" \n$ "
 source ~/.bash-git-prompt/gitprompt.sh source ~/.bash-git-prompt/gitprompt.sh
 </file> </file>
software/git.txt ยท Last modified: 2024/02/05 10:18 by solar