Try to fix for loop
This commit is contained in:
parent
8f16438478
commit
bc63a55b61
|
@ -112,9 +112,7 @@ function zvm_after_init() {
|
|||
fi
|
||||
if [ ! -f $FZY_CACHE ]; then
|
||||
PATHS=""
|
||||
|
||||
for i in \
|
||||
~/.config/waybar/ \
|
||||
search_dirs=(~/.config/waybar/ \
|
||||
~/.config/xmodmap/ \
|
||||
~/.config/zsh/ \
|
||||
~/.config/tmux/ \
|
||||
|
@ -139,8 +137,10 @@ function zvm_after_init() {
|
|||
~/Workspace/ \
|
||||
~/Containers/ \
|
||||
~/Storage/Shared/ \
|
||||
~/Storage/Thomas/ ; do
|
||||
~/Storage/Thomas/ \
|
||||
)
|
||||
|
||||
for i in $search_dirs ; do
|
||||
if [ -d $i ]; then
|
||||
PATHS="$PATHS\n$i"
|
||||
PATHS="$PATHS\n$(fd . $i -t d -d 5)"
|
||||
|
|
Loading…
Reference in New Issue