Commit c1082b28 authored by junk@logio.cz's avatar junk@logio.cz

My .bashrc-extends file

parents
PS1=""
PS1+='\[\033[01m\]'
PS1+='`if [ $? = 0 ]; then echo "\[\033[30m\]0"; else echo "\[\033[31m\]1"; fi`'
PS1+="\[\033[1;32m\]\u@$(hostname)\[\033[m\]" # user@server
PS1+='\[\033[97m\]\[\033[41m\]\w\[\033[49m\]'
if type __git_ps1 | grep -q '^function$' 2>/dev/null; then
PS1+='\[\033[34m\]$(__git_ps1) '
fi
PS1+='\[\033[32m\]$'
PS1+='\[\033[00m\] '
LD_LIBRARY_PATH="/usr/local/lib"
export LD_LIBRARY_PATH
PATH=$PATH:/usr/local/lib/
export PATH
if [ "$SSH_TTY" ] && [ -f "$HOME/.ssh/welcome-message" ]; then
echo ""
cat $HOME/.ssh/welcome-message
echo ""
fi
export VISUAL=vim
cd /var/www/html/devel
\ No newline at end of file
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