Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _git() {
- git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /'
- }
- if [ "$color_prompt" = yes ]; then
- PS1='\n${debian_chroot:+($debian_chroot)}\l: \[\033[01;37m\]\h\[\033[00m\] @ \[\033[01;33m\]\u\[\033[0m\] -> \[\033[01;36m\]\w\[\033[00m\] [\t] [\j] \n\[\033[01;35m\]$(_git)\[\033[00m\]\$ '
- # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- else
- PS1='\n${debian_chroot:+($debian_chroot)}\l: \h @ \u -> \w [\t] [\j] \n$(_git)\$ '
- # PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement