فهرست منبع

Prevent potential bug

Andrew Swistak 11 سال پیش
والد
کامیت
4d52408643
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      scripts/manage_dotfiles.sh

+ 2 - 1
scripts/manage_dotfiles.sh

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