mcdreamer.co.uk

Music


.bash_profile
function prompt_char
{
    git_branch="$(git branch 2>/dev/null | grep "^*" | sed s/\*[\ \t]*//)"
	if [ -n "$git_branch" ]; then
		echo -n "$(tput setaf 11)[${git_branch}] $(tput setaf 7)±"
		return
	fi  

	echo $
}   

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\]\u@\h \[$(tput setaf 4)\]\W\[$(tput setaf 7)\] \$(prompt_char) \[$(tput sgr0)\]"
.vimrc
set number
syntax on
set tabstop=4
set hlsearch
set autoindent
.