braces++
This commit is contained in:
2
repo
2
repo
@ -29,7 +29,7 @@ repos=$(find "${REPOSITORY_BASE}" -name '.git' | sed "s|${REPO_BASE}/||" | sed '
|
|||||||
# selected=$(echo "${repos}" | gum filter --header="Pick a repo" --prompt="Repo: " --height=20 --value "github.com/${1}")
|
# selected=$(echo "${repos}" | gum filter --header="Pick a repo" --prompt="Repo: " --height=20 --value "github.com/${1}")
|
||||||
selected="$(echo "${repos}" | fzf -1 -0 -q "${REPO_DEFAULT_SEARCH_PREFIX}${1}" --prompt="Repo: ")"
|
selected="$(echo "${repos}" | fzf -1 -0 -q "${REPO_DEFAULT_SEARCH_PREFIX}${1}" --prompt="Repo: ")"
|
||||||
|
|
||||||
echo "$REPOSITORY_BASE/$selected"
|
echo "${REPOSITORY_BASE}/${selected}"
|
||||||
|
|
||||||
# TODO: It could be super nice to bias in favour of more frequently selected options.
|
# TODO: It could be super nice to bias in favour of more frequently selected options.
|
||||||
# For the last 500 uses (or so):
|
# For the last 500 uses (or so):
|
||||||
|
|||||||
Reference in New Issue
Block a user