Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Dec 13, 2023
1 parent 8346ce0 commit e9f62a1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
3 changes: 1 addition & 2 deletions scripts/cli/src/get_any_file_with_fzf_command.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cur="${args[cur]}"

find $root_folder -type f ! -path '*/\.*' > /tmp/get_any_files_with_fzf &

find $root_folder -type f ! -path '*/\.*' > /tmp/get_any_files_with_fzf
get_any_files_with_fzf "$cur"
24 changes: 12 additions & 12 deletions scripts/cli/src/get_examples_list_with_fzf_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,36 @@ cur="${args[cur]}"

if [[ -n "$without_repro" ]] && [[ -n "$sink_only" ]]
then
if [ ! -f /tmp/get_examples_list_with_fzf_without_repro_sink_only ]
then
# if [ ! -f /tmp/get_examples_list_with_fzf_without_repro_sink_only ]
# then
generate_get_examples_list_with_fzf_without_repro_sink_only
fi
# fi
get_examples_list_with_fzf_without_repro_sink_only "$cur"
return
fi

if [[ -n "$without_repro" ]]
then
if [ ! -f /tmp/get_examples_list_with_fzf_without_repro ]
then
# if [ ! -f /tmp/get_examples_list_with_fzf_without_repro ]
# then
generate_get_examples_list_with_fzf_without_repro
fi
# fi
get_examples_list_with_fzf_without_repro "$cur"
return
fi

if [[ -n "$ccloud_only" ]]
then
if [ ! -f /tmp/get_examples_list_with_fzf_ccloud_only ]
then
# if [ ! -f /tmp/get_examples_list_with_fzf_ccloud_only ]
# then
generate_get_examples_list_with_fzf_ccloud_only
fi
# fi
get_examples_list_with_fzf_ccloud_only "$cur"
return
fi

if [ ! -f /tmp/get_examples_list_with_fzf ]
then
# if [ ! -f /tmp/get_examples_list_with_fzf ]
# then
generate_get_examples_list_with_fzf
fi
# fi
get_examples_list_with_fzf "$cur"
2 changes: 1 addition & 1 deletion scripts/cli/src/run_ccloud_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ SECONDS=0
cd $test_file_directory
trap 'rm /tmp/playground-run-command-used;echo "";sleep 3;set +e;playground connector status;playground ccloud-connector status;playground connector versions' EXIT
touch /tmp/playground-run-command-used
generate_fzf_find_files &
#generate_fzf_find_files &
bash $filename ${other_args[*]}
ret=$?
ELAPSED="took: $((($SECONDS / 60) % 60))min $(($SECONDS % 60))sec"
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/src/run_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ then
else
trap 'rm /tmp/playground-run-command-used;echo "";sleep 3;set +e;playground connector status;playground connector versions;playground open-docs --only-show-url' EXIT
fi
generate_fzf_find_files &
#generate_fzf_find_files &
touch /tmp/playground-run-command-used
bash $filename ${other_args[*]}
ret=$?
Expand Down

0 comments on commit e9f62a1

Please sign in to comment.