浏览代码

fix(tmux): timeout searching for git directories

Joe 10 月之前
父节点
当前提交
e1aecb9fa2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .scripts/project_launch.zsh

+ 1 - 1
.scripts/project_launch.zsh

@@ -2,7 +2,7 @@
 
 (sleep 3; exit 1) &
 
-PROJECT=$(fd \
+PROJECT=$(timeout 3 fd \
     --base-directory ~ \
     -t d \
     -d 5 \