I hereby claim:
- I am thelevti on github.
- I am thelevti (https://keybase.io/thelevti) on keybase.
- I have a public key ASCcbzcx-vmirumrnGAYi5RfJolMavYWhmEWHCpbBaFckgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Add this function before the following if statement. | |
parse_git_branch() { | |
git rev-parse --abbrev-ref HEAD 2> /dev/null | sed -e 's/\(.*\)/(\1)/' | |
} | |
# Replace the if statement. | |
if [ "$color_prompt" = yes ]; then | |
PS1='\[\033[01;34m\][\w]\[\033[31m\]$(parse_git_branch)\[\033[00m\]\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]\$ ' | |
else | |
PS1='[\w]$(parse_git_branch)\n${debian_chroot:+($debian_chroot)}\u@\h\$ ' |
[user] | |
name = John Doe | |
email = john@dow.com | |
signingkey = ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
[core] | |
editor = vim | |
pager = diff-so-fancy | less --tabs=4 -RFX --pattern '^(Date|added|deleted|modified): ' | |
excludesfile = /home/john/.gitignore_global | |
[color] | |
ui = true |
# Ansible | |
*.retry | |
# It's better to unpack these files and commit the raw source because | |
# git has its own built in compression methods. | |
*.7z | |
*.jar | |
*.rar | |
*.zip | |
*.gz |