moved to the correct scripts directory

This commit is contained in:
ObamaTheLlama114
2024-07-26 15:28:23 -05:00
parent 01609cb95c
commit 3eb2f0f917
17 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/bin/bash
_completions () {
if [[ -z "${MIGRATE_PATH}" ]];
then MIGRATE_PATH="./";
else MIGRATE_PATH="${MIGRATE_PATH}"; fi
if [[ -z "${TMP_STRUCTURE_PATH}" ]];
then TMP_STRUCTURE_PATH="./tmp/";
else TMP_STRUCTURE_PATH="${TMP_STRUCTURE_PATH}"; fi
if [[ $1 = $3 ]];
then LSPATH="$MIGRATE_PATH";
else LSPATH="$TMP_STRUCTURE_PATH"; fi
for i in $(compgen -f -- "$LSPATH$2" | cut -d "/" -f 2-); do
if [[ -d "$LSPATH$i" ]];
then COMPREPLY+=("$i/");
else COMPREPLY+=("$i"); fi
done
}
complete -o nospace -o filenames -F _completions m.bash