feat(tmux): compile tmux sessionizer and remove tpm

This commit is contained in:
2023-10-06 14:47:53 +02:00
parent e37c74db15
commit 4040342a3c
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,10 @@
if [[ $# -eq 1 ]]; then
selected=$1
else
selected=$(find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname | fzf --cycle --multi --bind 'tab:toggle-up,btab:toggle-down')
if ! [[ -f "$GGROOT/compiled" ]]; then
find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname > "$GGROOT/compiled"
fi
selected=$(cat "$GGROOT/compiled" | fzf)
fi
if [[ -z $selected ]]; then