diff --git a/install.sh b/install.sh index b3f19e6..630264e 100644 --- a/install.sh +++ b/install.sh @@ -1,29 +1,6 @@ #!/bin/bash # inspired by rrix' dotfiles -install_hg() -{ - # Mercurial extensions - touch "${HOME}/.dot_has_hg" - HGDIR="${HOME}/workspace/application_addons/mercurial" - mkdir -p $HGDIR - cd $HGDIR || exit - - for REPO in Mekk/mercurial_keyring sjl/hg-prompt durin42/hg-git yujiewu/hgflow - do - REPODIR="${REPO##*/}" - echo $REPODIR - if [ ! -d "$HGDIR/$REPODIR" ]; then - hg clone http://bitbucket.org/$REPO - #echo http://bitbucket.org/$REPO - else - cd $HGDIR/$REPODIR || exit - #echo $HGDIR/$REPODIR - hg pull -u - fi - done -} - install_fish() { touch ~/.dot/.dot_has_fish @@ -102,21 +79,8 @@ if [ ! -d "${HOME}/.vim/autoload/plug.vim" ]; then vim fi -#if [ -e ~/.dot_has_hg ]; then -# install_hg -#elif [ ! -e ~/.dot_no_hg ]; then -# echo -# echo "Do you wish to install mercurial stuff?" -# select yn in "Yes" "No"; do -# case $yn in -# Yes ) install_hg; break;; -# No ) touch ~/.dot_no_hg; break;; -# esac -# done -#fi - if [ -e ~/.dot/.dot_has_fish ]; then - install_hg + install_fish elif [ ! -e ~/.dot/.dot_no_fish ]; then echo echo "Do you wish to install fish shell configuration?"