Selaa lähdekoodia

add no fold option by default

Daniel Sheffield 2 viikkoa sitten
vanhempi
sitoutus
3298bfba65
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 1 1
      dot
  2. 4 1
      dot.ps1

+ 1 - 1
dot

@@ -40,7 +40,7 @@ _stow(){
     stow_package="$4"
     (
         [ "$DEBUG" ] && set -x
-        $stow -d "${stow_dir}" -t "${stow_target_dir}" "${stow_action}" "${stow_package}"
+        $stow --no-folding -d "${stow_dir}" -t "${stow_target_dir}" "${stow_action}" "${stow_package}"
     )
 }
 

+ 4 - 1
dot.ps1

@@ -11,9 +11,12 @@ if ($env:DEBUG) {
     $stowArgs = @{
         Simulate = $true
         Verbose  = $true
+        NoFolding = $true
     }
 } else {
-    $stowArgs = @{}
+    $stowArgs = @{
+        NoFolding = $true
+    }
 }
 
 # Default to current directory if not set