added condition for colored prompt in windows
fixed miscondition check for ~/.bin