]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Inception: silent cd
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Jan 2018 16:18:05 +0000 (14:18 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Jan 2018 16:18:05 +0000 (14:18 -0200)
inception

index cd9319f320d171e6dcb1e3944b8000ac4340ebc5..a00b692e1514b5c751a6e96834a34d63d379fb52 100755 (executable)
--- a/inception
+++ b/inception
@@ -22,7 +22,7 @@ function inception_usage {
 # Initialize
 function inception_init {
   (
-    cd $DIRNAME
+    cd $DIRNAME &> /dev/null
 
     echo "Initializing submodules..."
     $GIT submodule sync          --recursive
@@ -63,13 +63,13 @@ function inception_init {
   #echo "Please manually verify dotfiles version and tag from the above output."
   #echo "If everything is fine, proceed running this command again with the 'load' parameter."
 
-  cd -
+  #cd -
 }
 
 # Load
 function inception_load {
   (
-    cd $DIRNAME
+    cd $DIRNAME &> /dev/null
 
     BUNDLE="$3"
     DEPENDENCIES="$4"