Revert "Don't source containers on laptop"

This reverts commit bdc85b9ac2.
This commit is contained in:
Thomas Avé 2024-04-21 21:03:49 +02:00
parent bdc85b9ac2
commit d58be60b82
1 changed files with 4 additions and 2 deletions

View File

@ -153,10 +153,12 @@ function zvm_after_init() {
fi
if [ ! -f $FZY_CACHE ]; then
PATHS="$(/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME ls-files | parallel echo ~/{})"
search_dirs=(~/Workspace/ )
search_dirs=(~/Workspace/ \
~/Containers/ \
)
for i in $search_dirs ; do
if [ -d $i ]; then
PATHS="$PATHS\n$(ssh mallorea fdfind . $i -t f)"
PATHS="$PATHS\n$(fd . $i -t f)"
fi
done
echo -e $PATHS > $FZY_CACHE