diff --git a/.config/scripts/new-session.sh b/.config/scripts/new-session.sh index 2d650ee..becd83f 100755 --- a/.config/scripts/new-session.sh +++ b/.config/scripts/new-session.sh @@ -2,7 +2,7 @@ dir=${1:-} -[ -z "${dir}" ] && dir=$(find $HOME/Documents/gitlab -mindepth 1 -maxdepth 1 -type d | awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --with-nth=1 | awk '{print $2}') +[ -z "${dir}" ] && dir=$(find $HOME/Documents/gitlab -mindepth 2 -maxdepth 2 -type d | awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --with-nth=1 | awk '{print $2}') [ -z "$dir" ] && return 1 name=$(basename "$dir") diff --git a/.config/shell/functions.zsh b/.config/shell/functions.zsh index 305f3cf..e793e4d 100644 --- a/.config/shell/functions.zsh +++ b/.config/shell/functions.zsh @@ -27,7 +27,7 @@ clear-env () } tmux-new () { -". $HOME/.config/scripts/new-session.sh" + . $HOME/.config/scripts/new-session.sh } load-profile () { diff --git a/DesktopAnsible b/DesktopAnsible index 383c334..b57d0f7 160000 --- a/DesktopAnsible +++ b/DesktopAnsible @@ -1 +1 @@ -Subproject commit 383c3341000ab5221f1fbbdfd03c82605e62b367 +Subproject commit b57d0f7501cd7947fbb5fed97bedd28844be7359