*) return;;
esac
+# Stop if non-interactive shell
+# [ -z "$PS1" ] && return
+
# append to the history file, don't overwrite it
shopt -s histappend
fi
complete -W "`echo $BROWSER | sed 's/:/ /g'`" start-browser
- which pip >/dev/null 2>&1 && eval "`pip completion --bash`"
+ if which pip >/dev/null 2>&1; then
+ eval "`pip completion --bash`"
+ rm -rf /tmp/pip_build_"$USER"
+ fi
;;
*/ksh)