Commit 83d72164 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Fix prompt issues on darwin


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@20095 4525493e-7705-40b1-a816-d608a930855b
parent 2ec3d5ad
......@@ -10,12 +10,13 @@
# Minimal bash setup
if [ `uname` == "Darwin" ]; then
###PS1='\[\e[7;34m\][\u@\h '$project'\s]\[\e[0m\]\[\e[1;34m\] > \[\e[0m\]'
alias 'ls=ls -aFG'
# Fix issues in prompt (see http://unix.stackexchange.com/a/167911)
shopt -s checkwinsize
else
###PS1='\[\e[7;34m\][\u@\h '$project'\s]\[\e[0m\]\[\e[1;34m\] \w > \[\e[0m\]'
alias 'ls=ls -aF --color=tty'
fi
###PS1='\[\e[7;34m\][\u@\h '$project'\s]\[\e[0m\]\[\e[1;34m\] \w > \[\e[0m\]'
PS1='\[\e[7;34m\][\u@\h \s]\[\e[0m\]\[\e[1;34m\] \w > \[\e[0m\]'
alias 'rm=rm -i'
alias 'mv=mv -i'
......
Supports Markdown
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