Swap fzf args in build-dir to make more sense

This commit is contained in:
Kenneth Benzie 2024-05-01 21:41:25 +01:00
parent b4ce10f1bd
commit e269e6ff8d

View File

@ -93,7 +93,7 @@ EOF
local best=$(( ${#local_build_dirs} + 3 )) local best=$(( ${#local_build_dirs} + 3 ))
local_build_dir=$( local_build_dir=$(
printf '%s\n' "${local_build_dirs[@]}" | printf '%s\n' "${local_build_dirs[@]}" |
fzf --layout=reverse --info=hidden --border=rounded --tac \ fzf --layout=reverse --tac --info=hidden --border=rounded \
--height=$(( $best < $max ? $best : $max )) --height=$(( $best < $max ? $best : $max ))
) )
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then