Commit c2a7a600 authored by julian.gethmann's avatar julian.gethmann

Add git-prompt to bash_profile

parent 92278766
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
# Git prompt
if [ -f ~/.git-prompt.sh ]; then
source ~/.git-prompt.sh
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]$(__git_ps1 " (%s)")\$ '
fi
This diff is collapsed.
......@@ -8,6 +8,8 @@
with_items:
- gitconfig
- config
- "git-prompt.sh"
- "bash_profile"
- name: Create directory structure
become: yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment