ソースを参照

Sort subdirs for more intuitive behavior

Alois Mahdal 10 年 前
コミット
c5649ed1f7
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      dotfiles/git-universe/bin/sibling

+ 1
- 1
dotfiles/git-universe/bin/sibling ファイルの表示

@@ -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" ];