fi
complete -W "`echo $BROWSER | sed 's/:/ /g'`" start-browser
- if which pip >/dev/null 2>&1; then
+ if type -p pip >/dev/null 2>&1; then
eval "`pip completion --bash`"
rm -rf /tmp/pip_build_"$USER"
fi
# list remotes with URLs matching a regexp
list_remotes() {
GIT_REMOTES=""
+ local remote
for remote in `git remote`; do
if git config --get remote.$remote.url | grep -q "$1"; then
GIT_REMOTES="$GIT_REMOTES $remote"
fi
done
- unset remote
}
# completion for cdremote - list remotes with directories as URLs
}
-if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then
- source /usr/local/bin/virtualenvwrapper_lazy.sh
-fi
-
#if which pyenv >/dev/null 2>&1; then
# eval "`pyenv init -`"
# eval "`pyenv virtualenv-init -`"
#fi
+if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then
+ source /usr/local/bin/virtualenvwrapper_lazy.sh
+fi
+
X() { startx >> .Xserver.log 2>&1; cyr; }
x() { exit; }