Explorar o código

Prevent potential bug

Andrew Swistak %!s(int64=11) %!d(string=hai) anos
pai
achega
4d52408643
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      scripts/manage_dotfiles.sh

+ 2 - 1
scripts/manage_dotfiles.sh

@@ -92,6 +92,7 @@ compile_ycm() {
 
 
   cd "$DIR"/vim/bundle/YouCompleteMe
   cd "$DIR"/vim/bundle/YouCompleteMe
   ./install.sh
   ./install.sh
+  cd "$DIR"
 }
 }
 
 
 compile_exctags() {
 compile_exctags() {
@@ -123,7 +124,7 @@ case "$1" in
     compile_exctags
     compile_exctags
     ;;
     ;;
   *)
   *)
-    echo "Usage:  install_dotfiles <option>"
+    echo "Usage: manage_dotfiles <option>"
     echo "Options:"
     echo "Options:"
     echo "    -i --install_dotfiles       Install dotfiles to home directory"
     echo "    -i --install_dotfiles       Install dotfiles to home directory"
     echo "    -g --update_git_submodules  Update git submodules"
     echo "    -g --update_git_submodules  Update git submodules"