Procházet zdrojové kódy

Sort subdirs for more intuitive behavior

Alois Mahdal před 11 roky
rodič
revize
c5649ed1f7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      dotfiles/git-universe/bin/sibling

+ 1
- 1
dotfiles/git-universe/bin/sibling Zobrazit soubor

@@ -53,7 +53,7 @@ if [ -f $sibling_conf ];
53 53
 then
54 54
     sibling=$(cat $sibling_conf);
55 55
 else
56
-    sibling=$(find -maxdepth 1 -type d -name "[^.]*" | head -1)
56
+    sibling=$(find -maxdepth 1 -type d -name "[^.]*" | sort | head -1)
57 57
 fi
58 58
 
59 59
 if [ -z "$sibling" ];